#include <GeomAPI_Interface.h>
#include <memory>
+class GeomAPI_Ax3;
class GeomAPI_Pnt2d;
class GeomAPI_Dir2d;
+class GeomAPI_Shape;
/**\class GeomAPI_Circ2d
* \ingroup DataModel
{
public:
/// Creation of circle defined by center point and circle radius
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
const std::shared_ptr<GeomAPI_Pnt2d>& theCirclePoint);
/// Creation of circle defined by center point, direction and circle radius
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
const std::shared_ptr<GeomAPI_Dir2d>& theDir, double theRadius);
- /// Creation of circle defined by three points lying on it
- GEOMAPI_EXPORT
- GeomAPI_Circ2d(const std::shared_ptr<GeomAPI_Pnt2d>& theFirstPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& theSecondPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& theThirdPoint);
-
/// Return center of the circle
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
const std::shared_ptr<GeomAPI_Pnt2d> center() const;
/// Return radius of the circle
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
double radius() const;
/// Project point on line
- GEOMAPI_EXPORT
+ GEOMAPI_EXPORT
const std::shared_ptr<GeomAPI_Pnt2d> project(
const std::shared_ptr<GeomAPI_Pnt2d>& thePoint) const;