20 #ifndef GeomAPI_Circ_H_
21 #define GeomAPI_Circ_H_
23 #include <GeomAPI_Interface.h>
24 #include <GeomAPI_Curve.h>
47 GEOMAPI_EXPORT
GeomAPI_Circ(
const std::shared_ptr<GeomAPI_Ax2> theAx2,
48 const double theRadius);
51 GEOMAPI_EXPORT
GeomAPI_Circ(
const std::shared_ptr<GeomAPI_Pnt>& theCenter,
52 const std::shared_ptr<GeomAPI_Dir>& theDir,
double theRadius);
55 GEOMAPI_EXPORT
GeomAPI_Circ(
const GeomCurvePtr& theCurve);
58 GEOMAPI_EXPORT
const std::shared_ptr<GeomAPI_Pnt>
center()
const;
61 GEOMAPI_EXPORT
double radius()
const;
64 GEOMAPI_EXPORT std::shared_ptr<GeomAPI_Dir>
normal()
const;
67 GEOMAPI_EXPORT
const std::shared_ptr<GeomAPI_Pnt>
project(
68 const std::shared_ptr<GeomAPI_Pnt>& thePoint)
const;
79 GEOMAPI_EXPORT
const bool parameter(
const std::shared_ptr<GeomAPI_Pnt> thePoint,
80 const double theTolerance,
81 double& theParameter)
const;
85 typedef std::shared_ptr<GeomAPI_Circ> GeomCirclePtr;
The class represents an axis in 3D space.
Definition: GeomAPI_Ax2.h:31
Circle in 3D.
Definition: GeomAPI_Circ.h:37
GEOMAPI_EXPORT std::shared_ptr< GeomAPI_Dir > normal() const
Return orthogonal direction to the circle's plane.
Definition: GeomAPI_Circ.cpp:122
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.
Definition: GeomAPI_Circ.cpp:112
GEOMAPI_EXPORT double radius() const
Return radius of the circle.
Definition: GeomAPI_Circ.cpp:77
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > project(const std::shared_ptr< GeomAPI_Pnt > &thePoint) const
Project point on circle.
Definition: GeomAPI_Circ.cpp:83
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 ...
Definition: GeomAPI_Circ.cpp:43
GEOMAPI_EXPORT const std::shared_ptr< GeomAPI_Pnt > center() const
Return center of the circle.
Definition: GeomAPI_Circ.cpp:70
3D direction defined by three normalized coordinates
Definition: GeomAPI_Dir.h:34
General base class for all interfaces in this package.
Definition: GeomAPI_Interface.h:38
3D point defined by three coordinates
Definition: GeomAPI_Pnt.h:38