API Reference for Enthought Tool Suite 3.2.0

Define a few simple math functions to avoid dependency on numpy.

The functions provide facilities for clipping a value to a range as well as a number of functions for that treat 2 element lists as vectors. The main purpose of this latter set is for testing the distance of a point from a line (useful in hit testing).

Function summary

Functions

Imported Names

Local nameRefers to
sqrtmath.sqrt

© Copyright 2002-2009 Enthought, Inc.