Toroidal surface in 3D.
More...
|
| GEOMAPI_EXPORT | GeomAPI_Torus (const std::shared_ptr< GeomAPI_Pnt > &theCenter, const std::shared_ptr< GeomAPI_Dir > &theDir, const double theMajorRadius, const double theMinorRadius) |
| | Creation of torus defined by center point, direction, major and minor radii. More...
|
| |
| GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Pnt > | center () const |
| | Return center of the torus. More...
|
| |
| GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > | direction () const |
| | Return direction of the torus. More...
|
| |
| GEOMAPI_EXPORT double | majorRadius () const |
| | Return major radius of the torus. More...
|
| |
| GEOMAPI_EXPORT double | minorRadius () const |
| | Return minor radius of the torus. 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...
|
| |
◆ GeomAPI_Torus()
| GeomAPI_Torus::GeomAPI_Torus |
( |
const std::shared_ptr< GeomAPI_Pnt > & |
theCenter, |
|
|
const std::shared_ptr< GeomAPI_Dir > & |
theDir, |
|
|
const double |
theMajorRadius, |
|
|
const double |
theMinorRadius |
|
) |
| |
Creation of torus defined by center point, direction, major and minor radii.
◆ center()
| std::shared_ptr< GeomAPI_Pnt > GeomAPI_Torus::center |
( |
| ) |
const |
Return center of the torus.
◆ direction()
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Torus::direction |
( |
| ) |
const |
Return direction of the torus.
◆ majorRadius()
| double GeomAPI_Torus::majorRadius |
( |
| ) |
const |
Return major radius of the torus.
◆ minorRadius()
| double GeomAPI_Torus::minorRadius |
( |
| ) |
const |
Return minor radius of the torus.
◆ implPtr() [1/2]
template<class T >
| T* GeomAPI_Interface::implPtr |
( |
| ) |
|
|
inlineinherited |
Returns the pointer to the impl.
◆ implPtr() [2/2]
template<class T >
| const T* GeomAPI_Interface::implPtr |
( |
| ) |
const |
|
inlineinherited |
Returns the pointer to the impl.
◆ impl()
template<class T >
| const T& GeomAPI_Interface::impl |
( |
| ) |
const |
|
inlineinherited |
Returns the reference object of the impl.
◆ setImpl()
template<class T >
| void GeomAPI_Interface::setImpl |
( |
T * |
theImpl | ) |
|
|
inlineinherited |
Updates the impl (deletes the old one)
◆ empty()
| bool GeomAPI_Interface::empty |
( |
| ) |
const |
|
inherited |
Returns true if the impl is empty.