Class for transformation matrices.
More...
|
def | __init__ (self, arg=None) |
|
def | conv_from (self, src) |
| Converts src to a transformation matrix.
|
|
def | __mul__ (self, other) |
| Chains two TF matrices.
|
|
def | set_identity (self) |
| Set to identity.
|
|
def | __invert__ (self) |
| Returns the inverse.
|
|
def | transform (self, p) |
| Chains two TF matrices.
|
|
def | rotation (self) |
| Rotation part.
|
|
def | rotation (self, value) |
|
def | translation (self) |
| Translation part.
|
|
def | translation (self, value) |
|
def | __getitem__ (self, key) |
|
def | __setitem__ (self, key, item) |
|
def | __repr__ (self) |
|
def | __len__ (self) |
|
Class for transformation matrices.
Definition at line 836 of file tf.py.
◆ ensure()
def amino.tf.TfMat.ensure |
( |
|
thing | ) |
|
|
static |
Ensures thing is a TfMat.
If it's not, convert it.
Definition at line 918 of file tf.py.
The documentation for this class was generated from the following file:
- /home/ntd/git/amino/python/amino/tf.py