swf.geom
index
geom.py

 
Modules
       
math

 
Classes
       
__builtin__.object
Matrix2
Matrix4
Vector2
Vector3

 
class Matrix2(__builtin__.object)
    Matrix2
 
  Methods defined here:
__init__(self, a=1.0, b=0.0, c=0.0, d=1.0, tx=0.0, ty=0.0)
append(self, a, b, c, d, tx, ty)
append_matrix(self, m)
multiply_point(self, vec)
prepend(self, a, b, c, d, tx, ty)
prepend_matrix(self, m)
rotate(self, angle)
scale(self, x, y)
translate(self, x, y)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Matrix4(__builtin__.object)
    Matrix4
 
  Methods defined here:
__init__(self, data=None)
clone(self)
det(self)
flatten(self)
identity(self)
lookAt(self, eye, center, up)
multiply(self, a, b)
multiplyScalar(self, s)
multiplyVec3(self, vec)
multiplyVector3(self, vec)
multiplyVector4(self, v)

Class methods defined here:
inverse(cls, m1) from __builtin__.type
rotationMatrix(cls, x, y, z, angle) from __builtin__.type
scaleMatrix(cls, x, y, z) from __builtin__.type
translationMatrix(cls, x, y, z) from __builtin__.type

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Vector2(__builtin__.object)
     Methods defined here:
__init__(self, x=0.0, y=0.0)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Vector3(__builtin__.object)
     Methods defined here:
__init__(self, x=0, y=0, z=0)
addScalar(self, s)
clone(self)
cross(self, v1, v2)
distance(self, v)
distanceSq(self, v)
divScalar(self, s)
dot(self, v)
equals(self, v, e=None)
length(self)
lengthSq(self)
multScalar(self, s)
normalize(self)
set(self, x, y, z)
sub(self, a, b)
subScalar(self, s)
tostring(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        SNAP = 0.001