CFx SDK Documentation 2024 SP0
|
#include <FMWrapper3D.h>
Public Member Functions | |
Wrapper3D () | |
Wrapper3D (const OdGeMatrix3d &rMatrix) | |
Wrapper3D (const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin) | |
Wrapper3D (const OdGePlane &rPlane) | |
OdGePlane | plane () const |
const OdGeMatrix3d & | transform () const |
const OdGeMatrix3d & | inversedTransform () const |
Result | setTransform (const OdGeMatrix3d &mTransform) |
Result | setTransform (const OdGeVector3d &vXAxis, const OdGeVector3d &vYAxis, const OdGePoint3d &ptOrigin=OdGePoint3d::kOrigin) |
Result | transformBy (const OdGeMatrix3d &mMatrix) |
void | to3D (const OdGePoint2d &rSource2D, OdGePoint3d &rDest3D) const |
void | to3D (const OdGeVector2d &rSource2D, OdGeVector3d &rDest3D) const |
Result | to2D (const OdGePoint3d &rSource3D, OdGePoint2d &rDest2D) const |
Result | to2D (const OdGeVector3d &rSource3D, OdGeVector2d &rDest2D) const |
void | swap (Wrapper3D &rAnother) |
Represents wrapper for 2D entities for using in 3D.
Definition at line 37 of file FMWrapper3D.h.
FacetModeler::Wrapper3D::Wrapper3D | ( | ) |
Default constructor.
|
explicit |
Constructor. Creates a wrapper object with the specified transformation matrix.
rMatrix | [in] Transformation matrix. |
|
explicit |
Constructor. Creates a wrapper object with the specified axes and point of origin.
vXAxis | [in] X axis. |
vYAxis | [in] Y axis. |
ptOrigin | [in] Point of origin. |
|
explicit |
Constructor. Creates a wrapper object with the specified plane.
rPlane | [in] Plane. |
const OdGeMatrix3d & FacetModeler::Wrapper3D::inversedTransform | ( | ) | const |
Gets the inverse transformation matrix.
Result FacetModeler::Wrapper3D::setTransform | ( | const OdGeMatrix3d & | mTransform | ) |
Sets the transformation matrix.
mTransform | [in] New transformation matrix to set. |
Result FacetModeler::Wrapper3D::setTransform | ( | const OdGeVector3d & | vXAxis, |
const OdGeVector3d & | vYAxis, | ||
const OdGePoint3d & | ptOrigin = OdGePoint3d::kOrigin |
||
) |
Sets a transformation matrix with the specified axes and point of origin.
vXAxis | [in] X axis. |
vYAxis | [in] Y axis. |
ptOrigin | [in] Point of origin. |
Swaps the transformation of this object and the specified objects.
rAnother | [in] Wrapper object to swap with. |
Result FacetModeler::Wrapper3D::to2D | ( | const OdGePoint3d & | rSource3D, |
OdGePoint2d & | rDest2D | ||
) | const |
Transforms a point from the 3D coordinate system to 2D by applying an inverse transformation matrix.
rSource3D | [in] 3D point to transform. |
rDest2D | [out] 2D resulting point. |
Result FacetModeler::Wrapper3D::to2D | ( | const OdGeVector3d & | rSource3D, |
OdGeVector2d & | rDest2D | ||
) | const |
Transforms the vector from the 3D coordinate system to 2D by applying a inverse transformation matrix.
rSource3D | [in] 3D Vector to transform. |
rDest2D | [out] 2D Resulting vector. |
void FacetModeler::Wrapper3D::to3D | ( | const OdGePoint2d & | rSource2D, |
OdGePoint3d & | rDest3D | ||
) | const |
Transforms a point to the 3D coordinate system by applying a transformation matrix.
rSource2D | [in] 2D point to transform. |
rDest3D | [out] 3D resulting point. |
void FacetModeler::Wrapper3D::to3D | ( | const OdGeVector2d & | rSource2D, |
OdGeVector3d & | rDest3D | ||
) | const |
Transforms a vector to the 3D coordinate system by applying a transformation matrix.
rSource2D | [in] 2D vector to transform. |
rDest3D | [out] 3D resulting vector. |
const OdGeMatrix3d & FacetModeler::Wrapper3D::transform | ( | ) | const |
Gets the transformation matrix.
Result FacetModeler::Wrapper3D::transformBy | ( | const OdGeMatrix3d & | mMatrix | ) |
Applies the given transformation matrix to the Wrapper3D object.
mMatrix | [in] Transformation matrix to apply. |