GeMatrix3d.h
This class represents 3D transformation matrices that define affine (translation, rotation and/or scaling) transformations.
Corresponding C++ library: TD_Ge
OdGeMatrix3d may be viewed as an array[4][4] of doubles.
An OdGeMatrix3d, M, can be expressed as a 4 x 4 matrix* in the form:
The linear part of M is the matrix:
The translational part of M is the column:
The origin of the coordinate system of M is (t0, t1, t2).
|
Name |
Description |
|
Default constructor for objects of the OdGeMatrix3d class. |
|
Name |
Description |
|
Returns the matrix which maps the initial coordinate system defined by fromOrigin, fromXAxis, fromYAxis and fromZAxis, to the destination coordinate system defined by toOrigin, toXAxis, toYAxis and toZAxis. | |
|
Returns the matrix which 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 inversion. | |
|
Returns true if and only if another matrix is identical to this one within the specified tolerance. | |
|
Indicates whether the matrix can be used for perspective projections. | |
|
Checks whether the column vectors of the linear part of this matrix are mutually perpendicular within the specified tolerance. | |
|
Checks whether this matrix is singular. | |
|
Returns true if and only if 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 of this matrix and rightSide, and returns a reference to this matrix. | |
|
Sets this matrix to the product of leftSide and this matrix, and returns a reference to this matrix. | |
|
Returns the matrix that parallely projects entities onto the specified plane in the specified direction. | |
|
Returns the matrix that rotates entities by an angle about an axis passing through the center. | |
|
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 initial coordinate system defined by fromOrigin, fromXAxis, fromYAxis and fromZAxis, to the destination 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 of matrix1 and matrix2, and returns a reference to this matrix. | |
|
Sets this matrix to the matrix which is parallely projected onto the specified plane in the specified direction and returns a reference to this matrix. | |
|
Sets this matrix to the matrix which is rotated by a specified angle about an axis passing through the center, and returns a reference to this matrix. | |
|
This is the overview for the setToScaling method overload. | |
|
Sets this matrix to the matrix which is translated by a translation vector 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. | |
|
Sets any values within tol of 0 to 0. | |
|
This is the overview for the worldToPlane method overload. |
|
Name |
Description |
|
Negated comparison operator. | |
|
This is the overview for the () operator overload. | |
|
Multiplication operator. Returns the product of this matrix and another matrix. | |
|
Multiplication with assignment operator. Sets this matrix to the product of this matrix and another matrix, and returns a reference to this matrix. | |
|
This is the overview for the [] operator overload. | |
|
Comparison operator. |
Copyright © 2002–2022. Open Design Alliance. All rights reserved.
|