SketchAPI_Circle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
double theCenterX,
double theCenterY,
- double theRadius,
- double theAngle);
+ double theRadius);
/// Constructor with values.
SKETCHAPI_EXPORT
SketchAPI_Circle(const std::shared_ptr<ModelAPI_Feature>& theFeature,
const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
- double theRadius,
- double theAngle);
+ double theRadius);
/// Constructor with values.
SKETCHAPI_EXPORT
SKETCHAPI_EXPORT
virtual ~SketchAPI_Circle();
- INTERFACE_4(SketchPlugin_Circle::ID(),
+ INTERFACE_3(SketchPlugin_Circle::ID(),
center, SketchPlugin_Circle::CENTER_ID(),
GeomDataAPI_Point2D, /** Center point */,
radius, SketchPlugin_Circle::RADIUS_ID(),
ModelAPI_AttributeDouble, /** Radius */,
external, SketchPlugin_Circle::EXTERNAL_ID(),
- ModelAPI_AttributeSelection, /** External */,
- angle, SketchPlugin_Circle::ANGLE_ID(),
- ModelAPI_AttributeDouble, /** Angle */)
+ ModelAPI_AttributeSelection, /** External */)
/// Set by center and radius.
SKETCHAPI_EXPORT
- void setByCenterAndRadius(double theCenterX, double theCenterY,
- double theRadius, double theAngle);
+ void setByCenterAndRadius(double theCenterX, double theCenterY, double theRadius);
/// Set by center and radius.
SKETCHAPI_EXPORT
- void setByCenterAndRadius(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter,
- double theRadius, double theAngle);
+ void setByCenterAndRadius(const std::shared_ptr<GeomAPI_Pnt2d>& theCenter, double theRadius);
/// Set by external.
SKETCHAPI_EXPORT
SKETCHAPI_EXPORT
void setRadius(double theRadius);
- /// Set angle.
- SKETCHAPI_EXPORT
- void setAngle(double theAngle);
-
- /// Returns created points on circle
- SKETCHAPI_EXPORT
- std::shared_ptr<SketchAPI_SketchEntity> createdPoint() const;
-
/// Dump wrapped feature
SKETCHAPI_EXPORT
virtual void dump(ModelHighAPI_Dumper& theDumper) const;
-
-private:
- void createPoint();
};
/// Pointer on Circle object.