20 #ifndef SketchAPI_MacroEllipse_H_
21 #define SketchAPI_MacroEllipse_H_
23 #include "SketchAPI.h"
24 #include "SketchAPI_SketchEntity.h"
26 #include <SketchPlugin_MacroEllipse.h>
41 bool callInitialize =
true);
46 double theX1,
double theY1,
47 double theX2,
double theY2,
48 double theX3,
double theY3,
49 bool byCenter =
true);
54 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
55 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
56 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3,
57 bool byCenter =
true);
62 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
64 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
66 const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3,
68 bool byCenter =
true);
75 ellipseType, SketchPlugin_MacroEllipse::ELLIPSE_TYPE(),
103 void setByCenterAndPassedPoints(const std::shared_ptr<
GeomAPI_Pnt2d>& theCenter,
110 void setByMajorAxisAndPassedPoint(const std::shared_ptr<
GeomAPI_Pnt2d>& theMajorAxisStart,
118 void collectAuxiliary();
121 CompositeFeaturePtr mySketch;
2D point defined by two coordinates
Definition: GeomAPI_Pnt2d.h:36
API for the attribute that contains std (null terminated) string.
Definition: ModelAPI_AttributeString.h:33
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:41
Class for filling ModelAPI_AttributeRefAttr.
Definition: ModelHighAPI_RefAttr.h:41
Interface for Line feature.
Definition: SketchAPI_Line.h:39
Interface for Ellipse feature.
Definition: SketchAPI_MacroEllipse.h:36
std::shared_ptr< SketchAPI_Line > majorAxis()
Return created auxiliary major axis.
Definition: SketchAPI_MacroEllipse.cpp:243
std::shared_ptr< SketchAPI_Point > minorAxisStart()
Return created auxiliary point - start of minor axis.
Definition: SketchAPI_MacroEllipse.cpp:229
std::shared_ptr< SketchAPI_Point > majorAxisEnd()
Return created auxiliary point - end of major axis.
Definition: SketchAPI_MacroEllipse.cpp:222
std::shared_ptr< SketchAPI_Point > center()
Return created auxiliary center point.
Definition: SketchAPI_MacroEllipse.cpp:194
std::shared_ptr< SketchAPI_Line > minorAxis()
Return created auxiliary minor axis.
Definition: SketchAPI_MacroEllipse.cpp:250
virtual std::shared_ptr< ModelAPI_AttributeString > ellipseType() const
Ellipse type.
Definition: SketchAPI_MacroEllipse.h:76
std::shared_ptr< SketchAPI_Point > focus1()
Return created auxiliary focus in the positive direction of major axis.
Definition: SketchAPI_MacroEllipse.cpp:201
std::shared_ptr< SketchAPI_Point > majorAxisStart()
Return created auxiliary point - start of major axis.
Definition: SketchAPI_MacroEllipse.cpp:215
virtual ~SketchAPI_MacroEllipse()
Destructor.
Definition: SketchAPI_MacroEllipse.cpp:107
std::shared_ptr< SketchAPI_Point > minorAxisEnd()
Return created auxiliary point - end of minor axis.
Definition: SketchAPI_MacroEllipse.cpp:236
SketchAPI_MacroEllipse(const std::shared_ptr< ModelAPI_Feature > &theFeature, bool callInitialize=true)
Constructor without values.
Definition: SketchAPI_MacroEllipse.cpp:35
std::shared_ptr< SketchAPI_Point > focus2()
Return created auxiliary focus in the negative direction of major axis.
Definition: SketchAPI_MacroEllipse.cpp:208
Interface for Point feature.
Definition: SketchAPI_Point.h:39
Base class for Sketch feature interfaces.
Definition: SketchAPI_SketchEntity.h:38
static const std::string & ID()
Ellipse feature kind.
Definition: SketchPlugin_MacroEllipse.h:40