|
| AECECS () |
|
| AECECS (const OdGeMatrix3d &m) |
|
| AECECS (const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis, const OdGeVector3d &zAxis) |
|
AECECS & | setToIdentity () |
|
void | validateZero (const OdGeTol &tol=OdGeContext::gTol) |
|
AECECS | operator* (const AECECS &matrix) const |
|
AECECS & | operator*= (const AECECS &matrix) |
|
AECECS & | preMultBy (const AECECS &leftSide) |
|
AECECS & | postMultBy (const AECECS &rightSide) |
|
AECECS & | setToProduct (const AECECS &m1, const AECECS &m2) |
|
AECECS & | invert () |
|
bool | isSingular (const OdGeTol &tol=OdGeContext::gTol) const |
|
bool | operator== (const AECECS &matrix) const |
|
bool | operator!= (const AECECS &matrix) const |
|
bool | isEqualTo (const AECECS &matrix, const OdGeTol &tol=OdGeContext::gTol) const |
|
bool | isUniScaledOrtho (const OdGeTol &tol=OdGeContext::gTol) const |
|
bool | isScaledOrtho (const OdGeTol &tol=OdGeContext::gTol) const |
|
double | det () const |
|
AECECS & | setTranslation (const OdGeVector3d &vect) |
|
AECECS & | setCoordSystem (const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis, const OdGeVector3d &zAxis) |
|
void | getCoordSystem (OdGePoint3d &origin, OdGeVector3d &xAxis, OdGeVector3d &yAxis, OdGeVector3d &zAxis) const |
|
const OdGePoint3d & | getCsOrigin () const |
|
const OdGeVector3d & | getCsXAxis () const |
|
const OdGeVector3d & | getCsYAxis () const |
|
const OdGeVector3d & | getCsZAxis () const |
|
AECECS & | setToTranslation (const OdGeVector3d &vect) |
|
AECECS & | setToRotation (double angle, const OdGeVector3d &axis, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
AECECS & | setToScaling (double scale, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
AECECS & | setToScaling (const OdGeScale3d &scale, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
AECECS & | setToMirroring (const OdGePlane &mirrorPlane) |
|
AECECS & | setToMirroring (const OdGePoint3d &mirrorPoint) |
|
AECECS & | setToMirroring (const OdGeLine3d &mirrorLine) |
|
AECECS & | setToProjection (const OdGePlane &projectionPlane, const OdGeVector3d &projectDir) |
|
AECECS & | setToAlignCoordSys (const OdGePoint3d &fromOrigin, const OdGeVector3d &fromXAxis, const OdGeVector3d &fromYAxis, const OdGeVector3d &fromZAxis, const OdGePoint3d &toOrigin, const OdGeVector3d &toXAxis, const OdGeVector3d &toYAxis, const OdGeVector3d &toZAxis) |
|
AECECS & | setToWorldToPlane (const OdGeVector3d &normal) |
|
AECECS & | setToWorldToPlane (const OdGePlane &plane) |
|
AECECS & | setToPlaneToWorld (const OdGeVector3d &normal) |
|
AECECS & | setToPlaneToWorld (const OdGePlane &plane) |
|
const OdGeVector3d & | translation () const |
|
double | scale () const |
|
double | norm () const |
|
OdGeMatrix2d | convertToLocal (OdGeVector3d &normal, double &elevation) const |
|
OdGeMatrix2d | convertToLocalXY () const |
|
AECECS | inverse () const |
|
bool | inverse (AECECS &inverseMatrix, double tol) const |
|
void | geMatrix (OdGeMatrix3d &result) const |
|
| operator OdGeMatrix3d () const |
|
AECECS & | operator= (const OdGeMatrix3d &m) |
|
|
static AECECS | translation (const OdGeVector3d &vect) |
|
static AECECS | rotation (double angle, const OdGeVector3d &axis, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
static AECECS | scaling (double scale, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
static AECECS | scaling (const OdGeScale3d &scale, const OdGePoint3d ¢er=OdGePoint3d::kOrigin) |
|
static AECECS | mirroring (const OdGePlane &mirrorPlane) |
|
static AECECS | mirroring (const OdGePoint3d &mirrorPoint) |
|
static AECECS | mirroring (const OdGeLine3d &mirrorLine) |
|
static AECECS | projection (const OdGePlane &projectionPlane, const OdGeVector3d &projectDir) |
|
static AECECS | alignCoordSys (const OdGePoint3d &fromOrigin, const OdGeVector3d &fromXAxis, const OdGeVector3d &fromYAxis, const OdGeVector3d &fromZAxis, const OdGePoint3d &toOrigin, const OdGeVector3d &toXAxis, const OdGeVector3d &toYAxis, const OdGeVector3d &toZAxis) |
|
static AECECS | worldToPlane (const OdGeVector3d &normal) |
|
static AECECS | worldToPlane (const OdGePlane &plane) |
|
static AECECS | planeToWorld (const OdGeVector3d &normal) |
|
static AECECS | planeToWorld (const OdGePlane &plane) |
|
This class represents 3D transformation matrices that define affine ( translation, rotation, and/or scaling ) transformations.
Library: AecBase
<group TA_Other_Classes>
Definition at line 50 of file AECECS.h.
double AECECS::scale |
( |
| ) |
const |
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.
Get the length of the MAXIMUM column of the 3x3 portion of the matrix.
Returns the scale factor of 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.
- Parameters
-
fromOrigin | [in] Origin of the initial coordinate system. |
fromXAxis | [in] X-axis of the initial coordinate system. |
fromYAxis | [in] Y-axis of the initial coordinate system. |
fromZAxis | [in] Z-axis of the initial coordinate system. |
toOrigin | [in] Origin of the initial coordinate system. |
toXAxis | [in] X-axis of the initial coordinate system. |
toYAxis | [in] Y-axis of the initial coordinate system. |
toZAxis | [in] Z-axis of the initial coordinate system. |