Package esys :: Package pycad :: Module transformations :: Class Translation
[hide private]
[frames] | no frames]

Class Translation

    object --+    
             |    
Transformation --+
                 |
                Translation

Defines a translation x->x+b.

Instance Methods [hide private]
 
__call__(self, x=array([ 0., 0., 0.]))
Applies translation to x.
 
__init__(self, b=array([ 0., 0., 0.]))
Creates the linear transformation x->x+b.

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, x=array([ 0., 0., 0.]))
(Call operator)

 

Applies translation to x.

Overrides: Transformation.__call__

__init__(self, b=array([ 0., 0., 0.]))
(Constructor)

 

Creates the linear transformation x->x+b.

Overrides: object.__init__