-//==================================================================================================
-SketchAPI_Arc::SketchAPI_Arc(const std::shared_ptr<ModelAPI_Feature>& theFeature,
- double theStartX, double theStartY,
- double theEndX, double theEndY,
- double thePassedX, double thePassedY)
-: SketchAPI_SketchEntity(theFeature)
-{
- if (initialize()) {
- setByStartEndPassed(theStartX, theStartY, theEndX, theEndY, thePassedX, thePassedY);
- }
-}
-
-//==================================================================================================
-SketchAPI_Arc::SketchAPI_Arc(const std::shared_ptr<ModelAPI_Feature>& theFeature,
- const std::shared_ptr<GeomAPI_Pnt2d>& theStart,
- const std::shared_ptr<GeomAPI_Pnt2d>& theEnd,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePassed)
-: SketchAPI_SketchEntity(theFeature)
-{
- if (initialize()) {
- setByStartEndPassed(theStart, theEnd, thePassed);
- }
-}
-
-//==================================================================================================
-SketchAPI_Arc::SketchAPI_Arc(const std::shared_ptr<ModelAPI_Feature>& theFeature,
- const ModelHighAPI_RefAttr& theTangentPoint,
- double theEndX, double theEndY,
- bool theInversed)
-: SketchAPI_SketchEntity(theFeature)
-{
- if (initialize()) {
- setByTangent(theTangentPoint, theEndX, theEndY, theInversed);
- }
-}
-
-//==================================================================================================
-SketchAPI_Arc::SketchAPI_Arc(const std::shared_ptr<ModelAPI_Feature>& theFeature,
- const ModelHighAPI_RefAttr& theTangentPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& theEnd,
- bool theInversed)
-: SketchAPI_SketchEntity(theFeature)
-{
- if (initialize()) {
- setByTangent(theTangentPoint, theEnd, theInversed);
- }
-}
-
-//==================================================================================================