X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Arc.h;h=b0123d4aea54e1d5de76d77ee6ccc1e06d0655bb;hb=f68074b0f3e013e10a9d06016ceac84827a5cdc2;hp=92f24fb3ec896d0b21fed79220229438be56279d;hpb=73b293b1c77ab13ac9fbbb2aefb3b8573e63180b;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Arc.h b/src/SketchAPI/SketchAPI_Arc.h index 92f24fb3e..b0123d4ae 100644 --- a/src/SketchAPI/SketchAPI_Arc.h +++ b/src/SketchAPI/SketchAPI_Arc.h @@ -43,34 +43,6 @@ public: const std::shared_ptr& theEnd, bool theInversed); - /// Constructor with values. - SKETCHAPI_EXPORT - SketchAPI_Arc(const std::shared_ptr& theFeature, - double theStartX, double theStartY, - double theEndX, double theEndY, - double thePassedX, double thePassedY); - - /// Constructor with values. - SKETCHAPI_EXPORT - SketchAPI_Arc(const std::shared_ptr& theFeature, - const std::shared_ptr& theStart, - const std::shared_ptr& theEnd, - const std::shared_ptr& thePassed); - - /// Constructor with values. - SKETCHAPI_EXPORT - SketchAPI_Arc(const std::shared_ptr& theFeature, - const ModelHighAPI_RefAttr& theTangentPoint, - double theEndX, double theEndY, - bool theInversed); - - /// Constructor with values. - SKETCHAPI_EXPORT - SketchAPI_Arc(const std::shared_ptr& theFeature, - const ModelHighAPI_RefAttr& theTangentPoint, - const std::shared_ptr& theEnd, - bool theInversed); - /// Constructor with values. SKETCHAPI_EXPORT SketchAPI_Arc(const std::shared_ptr& theFeature, @@ -85,17 +57,21 @@ public: SKETCHAPI_EXPORT virtual ~SketchAPI_Arc(); - INTERFACE_10(SketchPlugin_Arc::ID(), - arcType, SketchPlugin_Arc::ARC_TYPE(), ModelAPI_AttributeString, /** Arc type */, - center, SketchPlugin_Arc::CENTER_ID(), GeomDataAPI_Point2D, /** Center point */, - startPoint, SketchPlugin_Arc::START_ID(), GeomDataAPI_Point2D, /** Start point */, - endPoint, SketchPlugin_Arc::END_ID(), GeomDataAPI_Point2D, /** End point */, - inversed, SketchPlugin_Arc::INVERSED_ID(), ModelAPI_AttributeBoolean, /** Inversed flag */, - passedPoint, SketchPlugin_Arc::PASSED_POINT_ID(), GeomDataAPI_Point2D, /** Passed point */, - tangentPoint, SketchPlugin_Arc::TANGENT_POINT_ID(), ModelAPI_AttributeRefAttr, /** Tangent point */, - radius, SketchPlugin_Arc::RADIUS_ID(), ModelAPI_AttributeDouble, /** Radius */, - angle, SketchPlugin_Arc::ANGLE_ID(), ModelAPI_AttributeDouble, /** Angle */, - external, SketchPlugin_Arc::EXTERNAL_ID(), ModelAPI_AttributeSelection, /** External */) + INTERFACE_7(SketchPlugin_Arc::ID(), + center, SketchPlugin_Arc::CENTER_ID(), + GeomDataAPI_Point2D, /** Center point */, + startPoint, SketchPlugin_Arc::START_ID(), + GeomDataAPI_Point2D, /** Start point */, + endPoint, SketchPlugin_Arc::END_ID(), + GeomDataAPI_Point2D, /** End point */, + reversed, SketchPlugin_Arc::REVERSED_ID(), + ModelAPI_AttributeBoolean, /** Inversed flag */, + radius, SketchPlugin_Arc::RADIUS_ID(), + ModelAPI_AttributeDouble, /** Radius */, + angle, SketchPlugin_Arc::ANGLE_ID(), + ModelAPI_AttributeDouble, /** Angle */, + external, SketchPlugin_Arc::EXTERNAL_ID(), + ModelAPI_AttributeSelection, /** External */) /// Set by center and start, end point. SKETCHAPI_EXPORT @@ -111,30 +87,6 @@ public: const std::shared_ptr& theEnd, bool theInversed); - /// Set by start, end and passed points. - SKETCHAPI_EXPORT - void setByStartEndPassed(double theStartX, double theStartY, - double theEndX, double theEndY, - double thePassedX, double thePassedY); - - /// Set by start, end and passed points. - SKETCHAPI_EXPORT - void setByStartEndPassed(const std::shared_ptr& theStart, - const std::shared_ptr& theEnd, - const std::shared_ptr& thePassed); - - /// Set by tangent and end point. - SKETCHAPI_EXPORT - void setByTangent(const ModelHighAPI_RefAttr& theTangentPoint, - double theEndX, double theEndY, - bool theInversed); - - /// Set by tangent and end point. - SKETCHAPI_EXPORT - void setByTangent(const ModelHighAPI_RefAttr& theTangentPoint, - const std::shared_ptr& theEnd, - bool theInversed); - /// Set by external. SKETCHAPI_EXPORT void setByExternal(const ModelHighAPI_Selection& theExternal); @@ -143,14 +95,6 @@ public: SKETCHAPI_EXPORT void setByExternalName(const std::string& theExternalName); - /// Set radius. - SKETCHAPI_EXPORT - void setRadius(double theRadius); - - /// Set angle. - SKETCHAPI_EXPORT - void setAngle(double theAngle); - /// Dump wrapped feature SKETCHAPI_EXPORT virtual void dump(ModelHighAPI_Dumper& theDumper) const;