-//==================================================================================================
-void SketchAPI_Circle::setByThreePoints(double theX1, double theY1,
- double theX2, double theY2,
- double theX3, double theY3)
-{
- fillAttribute(SketchPlugin_Circle::CIRCLE_TYPE_THREE_POINTS(), mycircleType);
- fillAttribute(firstPoint(), theX1, theY1);
- fillAttribute(secondPoint(), theX2, theY2);
- fillAttribute(thirdPoint(), theX3, theY3);
-
- execute();
-}
-
-//==================================================================================================
-void SketchAPI_Circle::setByThreePoints(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3)
-{
- fillAttribute(SketchPlugin_Circle::CIRCLE_TYPE_THREE_POINTS(), mycircleType);
- fillAttribute(thePoint1, myfirstPoint);
- fillAttribute(thePoint2, mysecondPoint);
- fillAttribute(thePoint3, mythirdPoint);
-
- execute();
-}
-