|
SHAPER
9.15.0
|
Circle in 3D. More...

Public Member Functions | |
| GEOMAPI_EXPORT | GeomAPI_Circ (const std::shared_ptr< GeomAPI_Ax2 > theAx2, const double theRadius) |
| Constructs a circle of radius Radius, where theAx2 locates the circle and defines its orientation in 3D space such that: . More... | |
| GEOMAPI_EXPORT | GeomAPI_Circ (const std::shared_ptr< GeomAPI_Pnt > &theCenter, const std::shared_ptr< GeomAPI_Dir > &theDir, double theRadius) |
| Creation of circle defined by center point, direction and circle radius. More... | |
| GEOMAPI_EXPORT | GeomAPI_Circ (const GeomCurvePtr &theCurve) |
| Creation of circle defined by a curve. More... | |
| GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > | center () const |
| Return center of the circle. More... | |
| GEOMAPI_EXPORT double | radius () const |
| Return radius of the circle. More... | |
| GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > | normal () const |
| Return orthogonal direction to the circle's plane. More... | |
| GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > | project (const std::shared_ptr< GeomAPI_Pnt > &thePoint) const |
| Project point on circle. More... | |
| GEOMAPI_EXPORT const bool | parameter (const std::shared_ptr< GeomAPI_Pnt > thePoint, const double theTolerance, double &theParameter) const |
| Computes the parameter of a given point on a circle. 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... | |
Circle in 3D.
| GeomAPI_Circ::GeomAPI_Circ | ( | const std::shared_ptr< GeomAPI_Ax2 > | theAx2, |
| const double | theRadius | ||
| ) |
Constructs a circle of radius Radius, where theAx2 locates the circle and defines its orientation in 3D space such that:
.
| GeomAPI_Circ::GeomAPI_Circ | ( | const std::shared_ptr< GeomAPI_Pnt > & | theCenter, |
| const std::shared_ptr< GeomAPI_Dir > & | theDir, | ||
| double | theRadius | ||
| ) |
Creation of circle defined by center point, direction and circle radius.
| GeomAPI_Circ::GeomAPI_Circ | ( | const GeomCurvePtr & | theCurve | ) |
Creation of circle defined by a curve.
| const std::shared_ptr< GeomAPI_Pnt > GeomAPI_Circ::center | ( | ) | const |
Return center of the circle.
| double GeomAPI_Circ::radius | ( | ) | const |
Return radius of the circle.
| std::shared_ptr< GeomAPI_Dir > GeomAPI_Circ::normal | ( | ) | const |
Return orthogonal direction to the circle's plane.
| const std::shared_ptr< GeomAPI_Pnt > GeomAPI_Circ::project | ( | const std::shared_ptr< GeomAPI_Pnt > & | thePoint | ) | const |
Project point on circle.
| const bool GeomAPI_Circ::parameter | ( | const std::shared_ptr< GeomAPI_Pnt > | thePoint, |
| const double | theTolerance, | ||
| double & | theParameter | ||
| ) | const |
Computes the parameter of a given point on a circle.
The point must be located either on the circle itself or relatively to the latter at a distance less than the tolerance value. Return FALSE if the point is beyond the tolerance limit or if computation fails. Max Tolerance value is currently limited to 1.e-4
| [in] | thePoint | point of origin. |
| [in] | theTolerance | tolerance of computation. |
| [out] | theParameter | resulting parameter. |
|
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.