double theCenterX,
double theCenterY,
double thePassedX,
- double thePassedY,
- double theAngle);
+ double thePassedY);
/// Constructor with values.
SKETCHAPI_EXPORT
SketchAPI_MacroCircle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::shared_ptr<GeomAPI_Pnt2d>& theCenterPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint,
- double theAngle);
+ const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint);
/// Constructor with values.
SKETCHAPI_EXPORT
SketchAPI_MacroCircle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
double theX1, double theY1,
double theX2, double theY2,
- double theX3, double theY3,
- double theAngle);
+ double theX3, double theY3);
/// Constructor with values.
SKETCHAPI_EXPORT
SketchAPI_MacroCircle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3,
- double theAngle);
+ const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3);
/// Destructor.
SKETCHAPI_EXPORT
virtual ~SketchAPI_MacroCircle();
- INTERFACE_7(SketchPlugin_MacroCircle::ID(),
+ INTERFACE_6(SketchPlugin_MacroCircle::ID(),
circleType, SketchPlugin_MacroCircle::CIRCLE_TYPE(),
ModelAPI_AttributeString, /** Circle type */,
centerPoint, SketchPlugin_MacroCircle::CENTER_POINT_ID(),
secondPoint, SketchPlugin_MacroCircle::SECOND_POINT_ID(),
GeomDataAPI_Point2D, /** Second point */,
thirdPoint, SketchPlugin_MacroCircle::THIRD_POINT_ID(),
- GeomDataAPI_Point2D, /** Third point */,
- angle, SketchPlugin_MacroCircle::CIRCLE_ROTATE_ANGLE_ID(),
- ModelAPI_AttributeDouble, /** Angle */)
+ GeomDataAPI_Point2D, /** Third point */)
- /// Returns created points on circle
- SKETCHAPI_EXPORT
- std::shared_ptr<SketchAPI_SketchEntity> createdPoint() const;
private:
/// Set by center and passed points.
void setByCenterAndPassedPoints(double theCenterX, double theCenterY,
- double thePassedX, double thePassedY,
- double theAngle);
+ double thePassedX, double thePassedY);
/// Set by center and passed points.
void setByCenterAndPassedPoints(const std::shared_ptr<GeomAPI_Pnt2d>& theCenterPoint,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint,
- double theAngle);
+ const std::shared_ptr<GeomAPI_Pnt2d>& thePassedPoint);
/// Set by three points.
void setByThreePoints(double theX1, double theY1,
double theX2, double theY2,
- double theX3, double theY3,
- double theAngle);
+ double theX3, double theY3);
/// Set by three points.
void setByThreePoints(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint1,
const std::shared_ptr<GeomAPI_Pnt2d>& thePoint2,
- const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3,
- double theAngle);
+ const std::shared_ptr<GeomAPI_Pnt2d>& thePoint3);
};
/// Pointer on Circle object.