|
SHAPER
9.15.0
|
The class represents a coordinate plane which is 2d plane with X and Y directions and origin. More...

Public Member Functions | |
| GeomAPI_Ax3 () | |
| Default constructor. More... | |
| GeomAPI_Ax3 (std::shared_ptr< GeomAPI_Pnt > theOrigin, std::shared_ptr< GeomAPI_Dir > theDirX, std::shared_ptr< GeomAPI_Dir > theNorm) | |
| Constructor. More... | |
| void | setOrigin (const std::shared_ptr< GeomAPI_Pnt > &theOrigin) |
| Sets origin point. More... | |
| std::shared_ptr< GeomAPI_Pnt > | origin () const |
| Returns the plane origin point. More... | |
| void | setDirX (const std::shared_ptr< GeomAPI_Dir > &theDirX) |
| Sets X direction vector. More... | |
| std::shared_ptr< GeomAPI_Dir > | dirX () const |
| Returns X direction vector. More... | |
| void | setDirY (const std::shared_ptr< GeomAPI_Dir > &theDirY) |
| Sets Y direction vector. More... | |
| std::shared_ptr< GeomAPI_Dir > | dirY () const |
| Returns Y direction vector. More... | |
| void | setNormal (const std::shared_ptr< GeomAPI_Dir > &theNorm) |
| Sets Z direction vector. More... | |
| std::shared_ptr< GeomAPI_Dir > | normal () const |
| Returns Z direction vector. More... | |
| std::shared_ptr< GeomAPI_Pnt > | to3D (double theX, double theY) const |
| Converts 2d coordinates from the plane to 3d space point. More... | |
| std::shared_ptr< GeomAPI_Pnt2d > | to2D (double theX, double theY, double theZ) const |
| Converts 3d to 2d coordinates of the plane. More... | |
| template<class T > | |
| T * | implPtr () |
| Returns the pointer to the impl. More... | |
| template<class T > | |
| const T * | implPtr () const |
| Returns the pointer to the impl. More... | |
| template<class T > | |
| const T & | impl () const |
| Returns the reference object of the impl. More... | |
| template<class T > | |
| void | setImpl (T *theImpl) |
| Updates the impl (deletes the old one) More... | |
| GEOMAPI_EXPORT bool | empty () const |
| Returns true if the impl is empty. More... | |
The class represents a coordinate plane which is 2d plane with X and Y directions and origin.
| GeomAPI_Ax3::GeomAPI_Ax3 | ( | ) |
Default constructor.
| GeomAPI_Ax3::GeomAPI_Ax3 | ( | std::shared_ptr< GeomAPI_Pnt > | theOrigin, |
| std::shared_ptr< GeomAPI_Dir > | theDirX, | ||
| std::shared_ptr< GeomAPI_Dir > | theNorm | ||
| ) |
Constructor.
| theOrigin | point of origin |
| theDirX | direction of X axis |
| theNorm | direction of normal vector |
| void GeomAPI_Ax3::setOrigin | ( | const std::shared_ptr< GeomAPI_Pnt > & | theOrigin | ) |
Sets origin point.
| std::shared_ptr< GeomAPI_Pnt > GeomAPI_Ax3::origin | ( | ) | const |
Returns the plane origin point.
| void GeomAPI_Ax3::setDirX | ( | const std::shared_ptr< GeomAPI_Dir > & | theDirX | ) |
Sets X direction vector.
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Ax3::dirX | ( | ) | const |
Returns X direction vector.
| void GeomAPI_Ax3::setDirY | ( | const std::shared_ptr< GeomAPI_Dir > & | theDirY | ) |
Sets Y direction vector.
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Ax3::dirY | ( | ) | const |
Returns Y direction vector.
| void GeomAPI_Ax3::setNormal | ( | const std::shared_ptr< GeomAPI_Dir > & | theNorm | ) |
Sets Z direction vector.
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Ax3::normal | ( | ) | const |
Returns Z direction vector.
| std::shared_ptr< GeomAPI_Pnt > GeomAPI_Ax3::to3D | ( | double | theX, |
| double | theY | ||
| ) | const |
Converts 2d coordinates from the plane to 3d space point.
| theX | X coordinate |
| theY | Y coordinate |
| std::shared_ptr< GeomAPI_Pnt2d > GeomAPI_Ax3::to2D | ( | double | theX, |
| double | theY, | ||
| double | theZ | ||
| ) | const |
Converts 3d to 2d coordinates of the plane.
| theX | X coordinate |
| theY | Y coordinate |
| theZ | Z coordinate |
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the pointer to the impl.
|
inlineinherited |
Returns the reference object of the impl.
|
inlineinherited |
Updates the impl (deletes the old one)
|
inherited |
Returns true if the impl is empty.