GeMatrix3d.h
This class represents 3D transformation matrices that define affine ( translation, rotation, and/or scaling ) transformations.
OdGeMatrix3d may be viewed as an array[4][4] of doubles.
An OdGeMatrix3d, M, can be expressed as a 4 4 matrix*, in the form
a00 a01 a02 t0 a10 a11 a12 t1 a20 a21 a22 t2 0 0 0 1
The linear part of M is the matrix
a00 a01 a02 a10 a11 a12 a20 a21 a22
The translational part of M is the column
t0 t1 t2
The origin of the coordinate system of M is (t0, t1, t2).
Corresponding C++ library: TD_Ge
|
Name |
Description |
|
Default constructor for the OdGeMatrix3d class. |
|
Name |
Description |
|
Returns the matrix which maps the coordinate system defined by fromOrigin, fromXAxis, fromYAxis, and fromZAxis, to the coordinate system defined by toOrigin, toXAxis, toYAxis, and toZAxis. | |
|
Transforms the plane specified by a normal and an elevation. | |
|
Returns the determinant of this matrix. | |
|
Returns the origin, X-axis, Y-axis, and Z-axis of the coordinate system to which this matrix maps the WCS. | |
|
Returns the origin of the coordinate system to which this matrix maps the WCS. | |
|
Returns the X-axis of the coordinate system to which this matrix maps the WCS. | |
|
Returns the Y-axis of the coordinate system to which this matrix maps the WCS. | |
|
Returns the Z-axis of the coordinate system to which this matrix maps the WCS. | |
|
This is the overview for the inverse method overload. | |
|
Sets this matrix to its inverse, and returns a reference to this matrix. | |
|
Returns true if and only if matrix is identical to this one, within the specified tolerance. | |
|
Indicates whether a matrix can be used for perspective projections. | |
|
Returns true if and only the column vectors of the linear part of this matrix are mutually perpendicular within the specified tolerance. | |
|
Returns true if and only if this matrix is singular. | |
|
Returns true if and only the columns vectors of the linear part of this matrix are of equal length and mutually perpendicular within the specified tolerance. | |
|
This is the overview for the mirroring method overload. | |
|
Returns the largest absolute value of the linear part of this matrix. | |
|
This is the overview for the planeToWorld method overload. | |
|
Sets this matrix to the product (this matrix) * rightSide, and returns a reference to this matrix. | |
|
Sets this matrix to the product leftSide * (this matrix), and returns a reference to this matrix. | |
|
Returns the matrix which parallel projects onto the specified plane in the specified direction. | |
|
Returns the matrix which rotates by angle about an axis passing through center, and returns a reference to this matrix. | |
|
Returns the scale factor of this matrix. | |
|
This is the overview for the scaling method overload. | |
|
Sets this matrix to the matrix which maps the WCS to the coordinate system defined by origin, X-axis, Y-axis, and Z-axis, and returns a reference to this matrix. | |
|
Sets this matrix to the matrix which maps the coordinate system defined by fromOrigin, fromXAxis, fromYAxis, and fromZAxis, to the coordinate system defined by toOrigin, toXAxis, toYAxis, and toZAxis, and returns a reference to this matrix. | |
|
Sets this matrix to the identity matrix, and returns a reference to this matrix. | |
|
This is the overview for the setToMirroring method overload. | |
|
This is the overview for the setToPlaneToWorld method overload. | |
|
Sets this matrix to the product matrix1 * matrix2, and returns a reference to this matrix. | |
|
Sets this matrix to the matrix which parallel projects onto the specified plane in the specified directionm and returns a reference to this matrix. | |
|
Sets this matrix to the matrix which rotates by angle about an axis passing through center, and returns a reference to this matrix. | |
|
This is the overview for the setToScaling method overload. | |
|
Sets this matrix to the matrix which translates by vect, and returns a reference to this matrix. | |
|
This is the overview for the setToWorldToPlane method overload. | |
|
Sets the translation part of the matrix to the specified vector. | |
|
This is the overview for the translation method overload. | |
|
Returns the transpose of this matrix. | |
|
Sets this matrix to its transpose, and returns a reference to this matrix. | |
|
for correcting in case that Zero is corrupted | |
|
This is the overview for the worldToPlane method overload. |
|
Name |
Description |
|
Inequality operator. | |
|
This is the overview for the () operator overload. | |
|
Returns the product (this matrix) * matrix. | |
|
Sets this matrix to the product (this matrix) * matrix, and returns a reference to this matrix. | |
|
This is the overview for the [] operator overload. | |
|
Equality operator. |
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|