-//==================================================================================================
-void SketchAPI_Arc::setByStartEndPassed(double theStartX, double theStartY,
- double theEndX, double theEndY,
- double thePassedX, double thePassedY)
-{
- fillAttribute(SketchPlugin_Arc::ARC_TYPE_THREE_POINTS(), myarcType);
- fillAttribute(startPoint(), theStartX, theStartY);
- fillAttribute(endPoint(), theEndX, theEndY);
- fillAttribute(passedPoint(), thePassedX, thePassedY);
-
- execute();
-}
-
-//==================================================================================================
-void SketchAPI_Arc::setByStartEndPassed(const std::shared_ptr<GeomAPI_Pnt2d>& theStart,
- const std::shared_ptr<GeomAPI_Pnt2d>& theEnd,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePassed)
-{
- fillAttribute(SketchPlugin_Arc::ARC_TYPE_THREE_POINTS(), myarcType);
- fillAttribute(theStart, mystartPoint);
- fillAttribute(theEnd, myendPoint);
- fillAttribute(thePassed, mypassedPoint);
-
- execute();
-}
-
-//==================================================================================================
-void SketchAPI_Arc::setByTangent(const ModelHighAPI_RefAttr& theTangentPoint,
- double theEndX, double theEndY,
- bool theInversed)
-{
- fillAttribute(SketchPlugin_Arc::ARC_TYPE_TANGENT(), myarcType);
- fillAttribute(theTangentPoint, mytangentPoint);
- fillAttribute(endPoint(), theEndX, theEndY);
- fillAttribute(theInversed, myinversed);
-
- execute();
-}
-
-//==================================================================================================
-void SketchAPI_Arc::setByTangent(const ModelHighAPI_RefAttr& theTangentPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& theEnd,
- bool theInversed)
-{
- fillAttribute(SketchPlugin_Arc::ARC_TYPE_TANGENT(), myarcType);
- fillAttribute(theTangentPoint, mytangentPoint);
- fillAttribute(theEnd, myendPoint);
- fillAttribute(theInversed, myinversed);
-
- execute();
-}
-
-//==================================================================================================