Package Scientific :: Package Geometry :: Module Transformation :: Class Translation
[hide private]
[frames] | no frames]

Class Translation



Transformation --+
                 |
                Translation

Translational transformation

Instance Methods [hide private]
  __call__(self, vector)
  __init__(self, vector)
  __mul__(self, other)
  displacement(self)
Returns the displacement vector
Transformation inverse(self)
Returns the inverse transformation
Rotation rotation(self)
Returns the rotational component
  screwMotion(self)
Returns the four parameters (reference, direction, angle, distance) of a screw-like motion that is equivalent to the transformation.
Translation translation(self)
Returns the translational component.

Class Variables [hide private]
  is_translation = 1

Method Details [hide private]

__call__(self, vector)
(Call operator)

 

__init__(self, vector)
(Constructor)

 
Parameters:

__mul__(self, other)

 

displacement(self)

 
Returns:
the displacement vector

inverse(self)

 
Returns: Transformation
the inverse transformation
Overrides: Transformation.inverse
(inherited documentation)

rotation(self)

 
Returns: Rotation
the rotational component
Overrides: Transformation.rotation
(inherited documentation)

screwMotion(self)

 
Returns:
the four parameters (reference, direction, angle, distance) of a screw-like motion that is equivalent to the transformation. The screw motion consists of a displacement of distance (a float) along direction (a normalized Scientific.Geometry.Vector) plus a rotation of angle radians around an axis pointing along direction and passing through the point reference (a Scientific.Geometry.Vector).
Overrides: Transformation.screwMotion
(inherited documentation)

translation(self)

 
Returns: Translation
the translational component. In the case of a mixed rotation/translation, this translation is executed after the rotation.
Overrides: Transformation.translation
(inherited documentation)

Class Variable Details [hide private]

is_translation

Value:
1