Spherical surface in 3D.
More...
|
GEOMAPI_EXPORT | GeomAPI_Sphere (const std::shared_ptr< GeomAPI_Pnt > &theCenter, double theRadius) |
| Construct sphere by center and radius. More...
|
|
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > | center () const |
| Return center of the sphere. More...
|
|
GEOMAPI_EXPORT double | radius () const |
| Return radius of the sphere. 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_Sphere()
GeomAPI_Sphere::GeomAPI_Sphere |
( |
const std::shared_ptr< GeomAPI_Pnt > & |
theCenter, |
|
|
double |
theRadius |
|
) |
| |
Construct sphere by center and radius.
◆ center()
const std::shared_ptr< GeomAPI_Pnt > GeomAPI_Sphere::center |
( |
| ) |
const |
Return center of the sphere.
◆ radius()
double GeomAPI_Sphere::radius |
( |
| ) |
const |
Return radius of the sphere.
◆ 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.