|
| GEOMAPI_EXPORT | GeomAPI_Pnt2d (const double theX, const double theY) |
| | Creation of point by coordinates. More...
|
| |
| GEOMAPI_EXPORT | GeomAPI_Pnt2d (const std::shared_ptr< GeomAPI_XY > &theCoords) |
| | Creation of point by coordinates. More...
|
| |
| GEOMAPI_EXPORT double | x () const |
| | returns X coordinate More...
|
| |
| GEOMAPI_EXPORT double | y () const |
| | returns Y coordinate More...
|
| |
| GEOMAPI_EXPORT void | setX (const double theX) |
| | sets X coordinate More...
|
| |
| GEOMAPI_EXPORT void | setY (const double theY) |
| | sets Y coordinate More...
|
| |
| GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > | to3D (const std::shared_ptr< GeomAPI_Pnt > &theOrigin, const std::shared_ptr< GeomAPI_Dir > &theDirX, const std::shared_ptr< GeomAPI_Dir > &theDirY) |
| | Returns the 3D point. More...
|
| |
| GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_XY > | xy () |
| | returns coordinates of the point More...
|
| |
| GEOMAPI_EXPORT double | distance (const std::shared_ptr< GeomAPI_Pnt2d > &theOther) const |
| | Distance between two points. More...
|
| |
| GEOMAPI_EXPORT bool | isEqual (const std::shared_ptr< GeomAPI_Pnt2d > &theOther) const |
| | Returns whether the distance between two points is less then precision confusion. 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...
|
| |
2D point defined by two coordinates