IC8 Python API:RLPy RTransform
Contents
- 1 Description
- 2 Constructor & Destructor
- 3 Member Functions
- 3.1 AlmostEqual (self, kRts)
- 3.2 AlmostSame (self, kRts, tThreshold)
- 3.3 D (self, *args)
- 3.4 From (self, mMatrix)
- 3.5 GetSR (self)
- 3.6 Inverse (self)
- 3.7 IsIdentity (self)
- 3.8 Matrix (self)
- 3.9 R (self, *args)
- 3.10 Rotate (self)
- 3.11 S (self, *args)
- 3.12 Scale (self)
- 3.13 T (self, *args)
- 3.14 U (self, *args)
- 3.15 __add__ (self, kRts)
- 3.16 __eq__ (self, kRts)
- 3.17 __iadd__ (self, kRts)
- 3.18 __ne__ (self, kRts)
- 4 Properties
- 5 Constants
Description
This class represent the object transform matrix data. This class provides access to RLPy's internal 4x4 matrix operators and related functions. See also: RMatrix4
Constructor & Destructor
__init__ (self, *args)
Initializes a new transform instance.
Parameters
- args
Member Functions
AlmostEqual (self, kRts)
Reports whether two transform values are approximately equal.
Parameters
- kRts
AlmostSame (self, kRts, tThreshold)
Reports whether this transform is approximately equal to another transform.
Parameters
- kRts
- tThreshold
D (self, *args)
Get the determinate sign of this transform matrix.
Parameters
- args
From (self, mMatrix)
Set this transform from a 4x4 matrix.
Parameters
- mMatrix
GetSR (self)
Form a 3x3 matrix with rotation and scale from this transform.
Inverse (self)
Get the inverse of this transform.
IsIdentity (self)
Check if this transform is equal to identity transform. Identity transform corresponds to "no transform" - the object is perfectly aligned with the world or parent axes and positioned at the origin.
Matrix (self)
Get 4x4 matrix from this transform.
R (self, *args)
Get the rotation of this transform matrix.
Parameters
- args
Rotate (self)
Form a rotate matrix from this transform.
S (self, *args)
Get the Scale of this transform matrix.
Parameters
- args
Scale (self)
Form a scale matrix from this transform.
T (self, *args)
Get the translation of this transform matrix.
Parameters
- args
U (self, *args)
Get the stretch of this transform matrix.
Parameters
- args
__add__ (self, kRts)
The "addition" operator. See Also: +=
Parameters
- kRts
__eq__ (self, kRts)
The "equal to" operator. See Also: !=
Parameters
- kRts
__iadd__ (self, kRts)
Adds another value to this value in place.
Parameters
- kRts
__ne__ (self, kRts)
The "not equal to" operator. See Also: ==
Parameters
- kRts
Properties
thisown
Indicates whether this SWIG proxy owns the underlying C++ object.