|
SHAPER
9.15.0
|
Interface for Sketch feature. More...

Public Member Functions | |
| SketchAPI_Sketch (const std::shared_ptr< ModelAPI_Feature > &theFeature) | |
| Constructor without values. More... | |
| SketchAPI_Sketch (const std::shared_ptr< ModelAPI_Feature > &theFeature, const std::shared_ptr< GeomAPI_Ax3 > &thePlane) | |
| Constructor with values. More... | |
| SketchAPI_Sketch (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theExternal) | |
| Constructor with values. More... | |
| SketchAPI_Sketch (const std::shared_ptr< ModelAPI_Feature > &theFeature, std::shared_ptr< ModelAPI_Object > thePlaneObject) | |
| Constructor with values. More... | |
| virtual | ~SketchAPI_Sketch () |
| Destructor. More... | |
| virtual std::string | getID () |
| virtual std::shared_ptr< GeomDataAPI_Point > | origin () const |
| Origin point. More... | |
| virtual std::shared_ptr< GeomDataAPI_Dir > | dirX () const |
| Direction of X. More... | |
| virtual std::shared_ptr< GeomDataAPI_Dir > | normal () const |
| Normal. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeRefList > | features () const |
| Features. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | external () const |
| External. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | solverError () const |
| Solver error. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | solverDOF () const |
| Solver DOF. More... | |
| void | setPlane (const std::shared_ptr< GeomAPI_Ax3 > &thePlane) |
| Set plane. More... | |
| void | setPlane (const ModelHighAPI_Selection &thePlane, bool theRemoveExternalDependency=false) |
| Change sketch plane. More... | |
| void | setExternal (const ModelHighAPI_Selection &theExternal) |
| Set external. More... | |
| void | setExternal (std::shared_ptr< ModelAPI_Object > thePlaneObject) |
| Set external. More... | |
| void | changeFacesOrder (const std::list< std::list< ModelHighAPI_Selection > > &theFaces) |
| Change order of sketch results (faces) More... | |
| std::list< std::shared_ptr< SketchAPI_Point > > | getFreePoints () |
| List points not connected by constraints with other sketch entities. More... | |
| std::shared_ptr< SketchAPI_Point > | addPoint (double theX, double theY) |
| Add point. More... | |
| std::shared_ptr< SketchAPI_Point > | addPoint (const std::shared_ptr< GeomAPI_Pnt2d > &thePoint) |
| Add point. More... | |
| std::shared_ptr< SketchAPI_Point > | addPoint (const ModelHighAPI_Selection &theExternal) |
| Add point. More... | |
| std::shared_ptr< SketchAPI_Point > | addPoint (const std::wstring &theExternalName) |
| Add point. More... | |
| std::shared_ptr< SketchAPI_IntersectionPoint > | addIntersectionPoint (const ModelHighAPI_Selection &theExternal, bool theKeepResult=false) |
| Add intersection point. More... | |
| std::shared_ptr< SketchAPI_IntersectionPoint > | addIntersectionPoint (const std::wstring &theExternalName, bool theKeepResult=false) |
| Add point. More... | |
| std::shared_ptr< SketchAPI_Line > | addLine (double theX1, double theY1, double theX2, double theY2) |
| Add line. More... | |
| std::shared_ptr< SketchAPI_Line > | addLine (const std::shared_ptr< GeomAPI_Pnt2d > &theStartPoint, const std::shared_ptr< GeomAPI_Pnt2d > &theEndPoint) |
| Add line. More... | |
| std::shared_ptr< SketchAPI_Line > | addLine (const ModelHighAPI_Selection &theExternal) |
| Add line. More... | |
| std::shared_ptr< SketchAPI_Line > | addLine (const std::wstring &theExternalName) |
| Add line. More... | |
| std::shared_ptr< SketchAPI_Rectangle > | addRectangle (double theX1, double theY1, double theX2, double theY2) |
| Add rectangle. More... | |
| std::shared_ptr< SketchAPI_Rectangle > | addRectangle (const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > &theStartPoint, const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > &theEndPoint) |
| Add rectangle. More... | |
| std::pair< std::shared_ptr< SketchAPI_Rectangle >, std::shared_ptr< SketchAPI_Point > > | addRectangleCentered (const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > &theCenter, const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > &theCorner) |
| Add rectangle. More... | |
| std::pair< std::shared_ptr< SketchAPI_Rectangle >, std::shared_ptr< SketchAPI_Point > > | addRectangleCentered (double theCenterX, double theCenterY, double theCornerX, double theCornerY) |
| Add rectangle. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircle (double theCenterX, double theCenterY, double theRadius) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircle (const std::shared_ptr< GeomAPI_Pnt2d > &theCenter, double theRadius) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircle (double theCenterX, double theCenterY, double thePassedX, double thePassedY) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircle (const std::shared_ptr< GeomAPI_Pnt2d > &theCenterPoint, const std::shared_ptr< GeomAPI_Pnt2d > &thePassedPoint) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircle (double theX1, double theY1, double theX2, double theY2, double theX3, double theY3) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircle (const std::shared_ptr< GeomAPI_Pnt2d > &thePoint1, const std::shared_ptr< GeomAPI_Pnt2d > &thePoint2, const std::shared_ptr< GeomAPI_Pnt2d > &thePoint3) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircle (const ModelHighAPI_Selection &theExternal) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircle (const std::wstring &theExternalName) |
| Add circle. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircleWithPoint (double theCenterX, double theCenterY, double theRadius, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircleWithPoint (const std::shared_ptr< GeomAPI_Pnt2d > &theCenter, double theRadius, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircleWithPoint (double theCenterX, double theCenterY, double thePassedX, double thePassedY, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircleWithPoint (const std::shared_ptr< GeomAPI_Pnt2d > &theCenterPoint, const std::shared_ptr< GeomAPI_Pnt2d > &thePassedPoint, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircleWithPoint (double theX1, double theY1, double theX2, double theY2, double theX3, double theY3, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_MacroCircle > | addCircleWithPoint (const std::shared_ptr< GeomAPI_Pnt2d > &thePoint1, const std::shared_ptr< GeomAPI_Pnt2d > &thePoint2, const std::shared_ptr< GeomAPI_Pnt2d > &thePoint3, double theAngle) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircleWithPoint (const ModelHighAPI_Selection &theExternal) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_Circle > | addCircleWithPoint (const std::wstring &theExternalName) |
| Add circle with point. More... | |
| std::shared_ptr< SketchAPI_Arc > | addArc (double theCenterX, double theCenterY, double theStartX, double theStartY, double theEndX, double theEndY, bool theInversed) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_Arc > | addArc (const std::shared_ptr< GeomAPI_Pnt2d > &theCenter, const std::shared_ptr< GeomAPI_Pnt2d > &theStart, const std::shared_ptr< GeomAPI_Pnt2d > &theEnd, bool theInversed) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_MacroArc > | addArc (double theStartX, double theStartY, double theEndX, double theEndY, double thePassedX, double thePassedY) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_MacroArc > | addArc (const std::shared_ptr< GeomAPI_Pnt2d > &theStart, const std::shared_ptr< GeomAPI_Pnt2d > &theEnd, const std::shared_ptr< GeomAPI_Pnt2d > &thePassed) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_MacroArc > | addArc (const ModelHighAPI_RefAttr &theConnectedPoint, double theEndX, double theEndY, bool theInversed, bool theTransversal=false) |
| Add transversal/tangent arc. More... | |
| std::shared_ptr< SketchAPI_MacroArc > | addArc (const ModelHighAPI_RefAttr &theConnectedPoint, const std::shared_ptr< GeomAPI_Pnt2d > &theEnd, bool theInversed, bool theTransversal=false) |
| Add transversal/tangent arc. More... | |
| std::shared_ptr< SketchAPI_Arc > | addArc (const ModelHighAPI_Selection &theExternal) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_Arc > | addArc (const std::wstring &theExternalName) |
| Add arc. More... | |
| std::shared_ptr< SketchAPI_Ellipse > | addEllipse (double theCenterX, double theCenterY, double theFocusX, double theFocusY, double theMinorRadius) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_Ellipse > | addEllipse (const std::shared_ptr< GeomAPI_Pnt2d > &theCenter, const std::shared_ptr< GeomAPI_Pnt2d > &theFocus, double theRadius) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_MacroEllipse > | addEllipse (double thePoint1X, double thePoint1Y, double thePoint2X, double thePoint2Y, double thePassedX, double thePassedY, bool isPoint1Center=true) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_MacroEllipse > | addEllipse (const PointOrReference &thePoint1, const PointOrReference &thePoint2, const PointOrReference &thePassedPoint, bool isPoint1Center=true) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_Ellipse > | addEllipse (const ModelHighAPI_Selection &theExternal) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_Ellipse > | addEllipse (const std::wstring &theExternalName) |
| Add ellipse. More... | |
| std::shared_ptr< SketchAPI_EllipticArc > | addEllipticArc (double theCenterX, double theCenterY, double theFocusX, double theFocusY, double theStartX, double theStartY, double theEndX, double theEndY, bool theInversed=false) |
| Add elliptic arc. More... | |
| std::shared_ptr< SketchAPI_MacroEllipticArc > | addEllipticArc (const PointOrReference &theCenter, const PointOrReference &theMajorAxisPoint, const PointOrReference &theStartPoint, const PointOrReference &theEndPoint, bool theInversed=false) |
| Add elliptic arc. More... | |
| std::shared_ptr< SketchAPI_EllipticArc > | addEllipticArc (const ModelHighAPI_Selection &theExternal) |
| Add elliptic arc. More... | |
| std::shared_ptr< SketchAPI_EllipticArc > | addEllipticArc (const std::wstring &theExternalName) |
| Add elliptic arc. More... | |
| std::shared_ptr< SketchAPI_BSpline > | addSpline (const ModelHighAPI_Selection &external=ModelHighAPI_Selection(), const int degree=-1, const std::list< PointOrReference > &poles=std::list< PointOrReference >(), const std::list< ModelHighAPI_Double > &weights=std::list< ModelHighAPI_Double >(), const std::list< ModelHighAPI_Double > &knots=std::list< ModelHighAPI_Double >(), const std::list< ModelHighAPI_Integer > &multiplicities=std::list< ModelHighAPI_Integer >(), const bool periodic=false) |
| Add B-spline. More... | |
| std::shared_ptr< SketchAPI_BSpline > | addInterpolation (const std::list< ModelHighAPI_RefAttr > &points, const bool periodic=false, const bool closed=false) |
| Add interpolation feature. More... | |
| std::shared_ptr< SketchAPI_BSpline > | addApproximation (const std::list< ModelHighAPI_RefAttr > &points, const ModelHighAPI_Double &precision=ModelHighAPI_Double(1.e-3), const bool periodic=false, const bool closed=false) |
| Add approximation feature. More... | |
| std::shared_ptr< SketchAPI_Projection > | addProjection (const ModelHighAPI_Selection &theExternalFeature, bool keepResult=false, bool keepRefToOriginal=true) |
| Add projection. More... | |
| std::shared_ptr< SketchAPI_Mirror > | addMirror (const ModelHighAPI_RefAttr &theMirrorLine, const std::list< std::shared_ptr< ModelAPI_Object > > &theObjects) |
| Add mirror. More... | |
| std::shared_ptr< SketchAPI_Offset > | addOffset (const std::list< std::shared_ptr< ModelAPI_Object > > &theObjects, const ModelHighAPI_Double &theValue, const bool theReversed=false, const std::string &theJointType=SketchPlugin_Offset::JOINT_KEEP_DISTANCE(), const bool theApprox=false) |
| Add offset. More... | |
| std::shared_ptr< SketchAPI_Translation > | addTranslation (const std::list< std::shared_ptr< ModelAPI_Object > > &theObjects, const ModelHighAPI_RefAttr &thePoint1, const ModelHighAPI_RefAttr &thePoint2, const ModelHighAPI_Integer &theNumberOfObjects, bool theFullValue=false) |
| Add translation. More... | |
| std::shared_ptr< SketchAPI_Rotation > | addRotation (const std::list< std::shared_ptr< ModelAPI_Object > > &theObjects, const ModelHighAPI_RefAttr &theCenter, const ModelHighAPI_Double &theAngle, const ModelHighAPI_Integer &theNumberOfObjects, bool theFullValue=false, bool theReversed=false) |
| Add rotation. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | addSplit (const ModelHighAPI_Reference &theFeature, const std::shared_ptr< GeomAPI_Pnt2d > &thePositionPoint) |
| Add split. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | addTrim (const ModelHighAPI_Reference &theFeature, const std::shared_ptr< GeomAPI_Pnt2d > &thePositionPoint) |
| Add trim. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setAngle (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, const ModelHighAPI_Double &theValue, const std::string &type=std::string(), bool is_active=true) |
| Set angle. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setAngleComplementary (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set complementary angle. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setAngleBackward (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set backward angle (= 360 - angle) More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setCoincident (const ModelHighAPI_RefAttr &thePoint1, const ModelHighAPI_RefAttr &thePoint2, bool is_active=true) |
| Set coincident. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setCollinear (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, bool is_active=true) |
| Set collinear. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setDistance (const ModelHighAPI_RefAttr &thePoint, const ModelHighAPI_RefAttr &thePointOrLine, const ModelHighAPI_Double &theValue, bool isSigned=false, bool is_active=true) |
| Set distance. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setSignedDistance (const ModelHighAPI_RefAttr &thePoint, const ModelHighAPI_RefAttr &thePointOrLine, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set signed distance. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setUnsignedDistance (const ModelHighAPI_RefAttr &thePoint, const ModelHighAPI_RefAttr &thePointOrLine, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set unsigned distance. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setHorizontalDistance (const ModelHighAPI_RefAttr &thePoint1, const ModelHighAPI_RefAttr &thePoint2, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set horizontal distance. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setVerticalDistance (const ModelHighAPI_RefAttr &thePoint1, const ModelHighAPI_RefAttr &thePoint2, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set vertical distance. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setEqual (const ModelHighAPI_RefAttr &theObject1, const ModelHighAPI_RefAttr &theObject2, bool is_active=true) |
| Set equal. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setFillet (const ModelHighAPI_RefAttr &thePoint) |
| Set fillet. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setFilletWithRadius (const ModelHighAPI_RefAttr &thePoint, const ModelHighAPI_Double &theRadius) |
| Set fillet with additional radius constraint. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setFixed (const ModelHighAPI_RefAttr &theObject, bool is_active=true) |
| Set fixed. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setHorizontal (const ModelHighAPI_RefAttr &theLine, bool is_active=true) |
| Set horizontal. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setLength (const ModelHighAPI_RefAttr &theLine, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set length. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setMiddlePoint (const ModelHighAPI_RefAttr &thePoint, const ModelHighAPI_RefAttr &theLine, bool is_active=true) |
| Set middle. More... | |
| std::shared_ptr< SketchAPI_MacroMiddlePoint > | setMiddlePoint (const ModelHighAPI_RefAttr &theLine, bool is_active=true) |
| Set middle. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setParallel (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, bool is_active=true) |
| Set parallel. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setPerpendicular (const ModelHighAPI_RefAttr &theLine1, const ModelHighAPI_RefAttr &theLine2, bool is_active=true) |
| Set perpendicular. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setRadius (const ModelHighAPI_RefAttr &theCircleOrArc, const ModelHighAPI_Double &theValue, bool is_active=true) |
| Set radius. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setTangent (const ModelHighAPI_RefAttr &theLine, const ModelHighAPI_RefAttr &theCircle, bool is_active=true) |
| Set tangent. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | setVertical (const ModelHighAPI_RefAttr &theLine, bool is_active=true) |
| Set vertical. More... | |
| void | setValue (const std::shared_ptr< ModelHighAPI_Interface > &theConstraint, const ModelHighAPI_Double &theValue) |
| Set constraint value. More... | |
| void | move (const ModelHighAPI_RefAttr &theMovedEntity, const std::shared_ptr< GeomAPI_Pnt2d > &theTargetPoint) |
| Move point or sketch feature. More... | |
| void | move (const ModelHighAPI_RefAttr &theMovedEntity, double theTargetX, double theTargetY) |
| Move point or sketch feature. More... | |
| std::shared_ptr< GeomAPI_Pnt2d > | to2D (const std::shared_ptr< GeomAPI_Pnt > &thePoint) |
| std::list< ModelHighAPI_Selection > | selectFace () const |
| Select face. More... | |
| virtual void | dump (ModelHighAPI_Dumper &theDumper) const |
| Dump wrapped feature. More... | |
| std::shared_ptr< ModelAPI_Feature > | feature () const |
| Return ModelAPI_Feature. More... | |
| std::shared_ptr< ModelHighAPI_Interface > | subFeature (const int theIndex) const |
| If feature is composite return intefrace for sub-feature by zero-based index, or empty pointer if feature not composite or does not have sub-feature with such index. More... | |
| const std::string & | getKind () const |
| Shortcut for feature()->getKind() More... | |
| void | execute (bool isForce=false) |
| Shortcut for feature()->execute() More... | |
| void | setName (const std::wstring &theName) |
| Shortcut for feature()->data()->setName() More... | |
| std::wstring | name () const |
| Shortcut for feature()->data()->name() More... | |
| virtual ModelHighAPI_Selection | result () const |
| Return firts object of the feature. More... | |
| virtual std::list< ModelHighAPI_Selection > | results () const |
| Return all objects of the feature. More... | |
| virtual std::shared_ptr< ModelAPI_Result > | defaultResult () const |
| Return default result. Default implementation feature()->lastResult() More... | |
| void | throwException (const std::string &theDescription) |
| Throw exception to event loop. More... | |
| const std::string & | attributeGetter (const std::string &theAttrName) |
| Return name of getter for specified attribute. More... | |
| virtual ListOfShape | vertices (const bool theOnlyUnique=false) |
| Returns all the vertices produced by this feature. More... | |
| virtual ListOfShape | edges (const bool theOnlyUnique=false) |
| Returns all the edges produced by this feature. More... | |
| virtual ListOfShape | wires (const bool theOnlyUnique=false) |
| Returns all the wires produced by this feature. More... | |
| virtual ListOfShape | faces (const bool theOnlyUnique=false) |
| Returns all the faces produced by this feature. More... | |
| virtual ListOfShape | shells (const bool theOnlyUnique=false) |
| Returns all the shells produced by this feature. More... | |
| virtual ListOfShape | solids (const bool theOnlyUnique=false) |
| Returns all the solids produced by this feature. More... | |
Static Public Member Functions | |
| static std::string | ID () |
Protected Member Functions | |
| bool | initialize () |
| std::shared_ptr< ModelAPI_CompositeFeature > | compositeFeature () const |
Protected Attributes | |
| std::shared_ptr< GeomDataAPI_Point > | myorigin |
| std::shared_ptr< GeomDataAPI_Dir > | mydirX |
| std::shared_ptr< GeomDataAPI_Dir > | mynormal |
| std::shared_ptr< ModelAPI_AttributeRefList > | myfeatures |
| std::shared_ptr< ModelAPI_AttributeSelection > | myexternal |
| std::shared_ptr< ModelAPI_AttributeString > | mysolverError |
| std::shared_ptr< ModelAPI_AttributeString > | mysolverDOF |
| std::shared_ptr< ModelAPI_Feature > | myFeature |
| feature of this interface More... | |
| std::map< std::string, std::string > | myAttrGetter |
| names of attributes and their getters More... | |
Interface for Sketch feature.
|
explicit |
Constructor without values.
| SketchAPI_Sketch::SketchAPI_Sketch | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const std::shared_ptr< GeomAPI_Ax3 > & | thePlane | ||
| ) |
Constructor with values.
| SketchAPI_Sketch::SketchAPI_Sketch | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theExternal | ||
| ) |
Constructor with values.
| SketchAPI_Sketch::SketchAPI_Sketch | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| std::shared_ptr< ModelAPI_Object > | thePlaneObject | ||
| ) |
Constructor with values.
|
virtual |
Destructor.
|
inlinevirtual |
Origin point.
|
inlinevirtual |
Direction of X.
|
inlinevirtual |
Normal.
|
inlinevirtual |
Features.
|
inlinevirtual |
External.
|
inlinevirtual |
Solver error.
|
inlinevirtual |
Solver DOF.
| void SketchAPI_Sketch::setPlane | ( | const std::shared_ptr< GeomAPI_Ax3 > & | thePlane | ) |
Set plane.
| void SketchAPI_Sketch::setPlane | ( | const ModelHighAPI_Selection & | thePlane, |
| bool | theRemoveExternalDependency = false |
||
| ) |
Change sketch plane.
| void SketchAPI_Sketch::setExternal | ( | const ModelHighAPI_Selection & | theExternal | ) |
Set external.
| void SketchAPI_Sketch::setExternal | ( | std::shared_ptr< ModelAPI_Object > | thePlaneObject | ) |
Set external.
| void SketchAPI_Sketch::changeFacesOrder | ( | const std::list< std::list< ModelHighAPI_Selection > > & | theFaces | ) |
Change order of sketch results (faces)
| std::list< std::shared_ptr< SketchAPI_Point > > SketchAPI_Sketch::getFreePoints | ( | ) |
List points not connected by constraints with other sketch entities.
| std::shared_ptr< SketchAPI_Point > SketchAPI_Sketch::addPoint | ( | double | theX, |
| double | theY | ||
| ) |
Add point.
| std::shared_ptr< SketchAPI_Point > SketchAPI_Sketch::addPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint | ) |
Add point.
| std::shared_ptr< SketchAPI_Point > SketchAPI_Sketch::addPoint | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add point.
| std::shared_ptr< SketchAPI_Point > SketchAPI_Sketch::addPoint | ( | const std::wstring & | theExternalName | ) |
Add point.
| std::shared_ptr< SketchAPI_IntersectionPoint > SketchAPI_Sketch::addIntersectionPoint | ( | const ModelHighAPI_Selection & | theExternal, |
| bool | theKeepResult = false |
||
| ) |
Add intersection point.
| std::shared_ptr< SketchAPI_IntersectionPoint > SketchAPI_Sketch::addIntersectionPoint | ( | const std::wstring & | theExternalName, |
| bool | theKeepResult = false |
||
| ) |
Add point.
| std::shared_ptr< SketchAPI_Line > SketchAPI_Sketch::addLine | ( | double | theX1, |
| double | theY1, | ||
| double | theX2, | ||
| double | theY2 | ||
| ) |
Add line.
| std::shared_ptr< SketchAPI_Line > SketchAPI_Sketch::addLine | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theStartPoint, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theEndPoint | ||
| ) |
Add line.
| std::shared_ptr< SketchAPI_Line > SketchAPI_Sketch::addLine | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add line.
| std::shared_ptr< SketchAPI_Line > SketchAPI_Sketch::addLine | ( | const std::wstring & | theExternalName | ) |
Add line.
| std::shared_ptr< SketchAPI_Rectangle > SketchAPI_Sketch::addRectangle | ( | double | theX1, |
| double | theY1, | ||
| double | theX2, | ||
| double | theY2 | ||
| ) |
Add rectangle.
| std::shared_ptr< SketchAPI_Rectangle > SketchAPI_Sketch::addRectangle | ( | const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > & | theStartPoint, |
| const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > & | theEndPoint | ||
| ) |
Add rectangle.
| std::pair< std::shared_ptr< SketchAPI_Rectangle >, std::shared_ptr< SketchAPI_Point > > SketchAPI_Sketch::addRectangleCentered | ( | const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > & | theCenter, |
| const std::pair< std::shared_ptr< GeomAPI_Pnt2d >, ModelHighAPI_RefAttr > & | theCorner | ||
| ) |
Add rectangle.
| std::pair< std::shared_ptr< SketchAPI_Rectangle >, std::shared_ptr< SketchAPI_Point > > SketchAPI_Sketch::addRectangleCentered | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theCornerX, | ||
| double | theCornerY | ||
| ) |
Add rectangle.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircle | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theRadius | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircle | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenter, |
| double | theRadius | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircle | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | thePassedX, | ||
| double | thePassedY | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircle | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenterPoint, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePassedPoint | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircle | ( | double | theX1, |
| double | theY1, | ||
| double | theX2, | ||
| double | theY2, | ||
| double | theX3, | ||
| double | theY3 | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircle | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint1, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint2, | ||
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint3 | ||
| ) |
Add circle.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircle | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add circle.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircle | ( | const std::wstring & | theExternalName | ) |
Add circle.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircleWithPoint | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theRadius, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircleWithPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenter, |
| double | theRadius, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircleWithPoint | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | thePassedX, | ||
| double | thePassedY, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircleWithPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenterPoint, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePassedPoint, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircleWithPoint | ( | double | theX1, |
| double | theY1, | ||
| double | theX2, | ||
| double | theY2, | ||
| double | theX3, | ||
| double | theY3, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_MacroCircle > SketchAPI_Sketch::addCircleWithPoint | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint1, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint2, | ||
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePoint3, | ||
| double | theAngle | ||
| ) |
Add circle with point.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircleWithPoint | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add circle with point.
| std::shared_ptr< SketchAPI_Circle > SketchAPI_Sketch::addCircleWithPoint | ( | const std::wstring & | theExternalName | ) |
Add circle with point.
| std::shared_ptr< SketchAPI_Arc > SketchAPI_Sketch::addArc | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theStartX, | ||
| double | theStartY, | ||
| double | theEndX, | ||
| double | theEndY, | ||
| bool | theInversed | ||
| ) |
Add arc.
| std::shared_ptr< SketchAPI_Arc > SketchAPI_Sketch::addArc | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenter, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theStart, | ||
| const std::shared_ptr< GeomAPI_Pnt2d > & | theEnd, | ||
| bool | theInversed | ||
| ) |
Add arc.
| std::shared_ptr< SketchAPI_MacroArc > SketchAPI_Sketch::addArc | ( | double | theStartX, |
| double | theStartY, | ||
| double | theEndX, | ||
| double | theEndY, | ||
| double | thePassedX, | ||
| double | thePassedY | ||
| ) |
Add arc.
| std::shared_ptr< SketchAPI_MacroArc > SketchAPI_Sketch::addArc | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theStart, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theEnd, | ||
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePassed | ||
| ) |
Add arc.
| std::shared_ptr< SketchAPI_MacroArc > SketchAPI_Sketch::addArc | ( | const ModelHighAPI_RefAttr & | theConnectedPoint, |
| double | theEndX, | ||
| double | theEndY, | ||
| bool | theInversed, | ||
| bool | theTransversal = false |
||
| ) |
Add transversal/tangent arc.
| std::shared_ptr< SketchAPI_MacroArc > SketchAPI_Sketch::addArc | ( | const ModelHighAPI_RefAttr & | theConnectedPoint, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theEnd, | ||
| bool | theInversed, | ||
| bool | theTransversal = false |
||
| ) |
Add transversal/tangent arc.
| std::shared_ptr< SketchAPI_Arc > SketchAPI_Sketch::addArc | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add arc.
| std::shared_ptr< SketchAPI_Arc > SketchAPI_Sketch::addArc | ( | const std::wstring & | theExternalName | ) |
Add arc.
| std::shared_ptr< SketchAPI_Ellipse > SketchAPI_Sketch::addEllipse | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theFocusX, | ||
| double | theFocusY, | ||
| double | theMinorRadius | ||
| ) |
Add ellipse.
| std::shared_ptr< SketchAPI_Ellipse > SketchAPI_Sketch::addEllipse | ( | const std::shared_ptr< GeomAPI_Pnt2d > & | theCenter, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theFocus, | ||
| double | theRadius | ||
| ) |
Add ellipse.
| std::shared_ptr< SketchAPI_MacroEllipse > SketchAPI_Sketch::addEllipse | ( | double | thePoint1X, |
| double | thePoint1Y, | ||
| double | thePoint2X, | ||
| double | thePoint2Y, | ||
| double | thePassedX, | ||
| double | thePassedY, | ||
| bool | isPoint1Center = true |
||
| ) |
Add ellipse.
| std::shared_ptr< SketchAPI_MacroEllipse > SketchAPI_Sketch::addEllipse | ( | const PointOrReference & | thePoint1, |
| const PointOrReference & | thePoint2, | ||
| const PointOrReference & | thePassedPoint, | ||
| bool | isPoint1Center = true |
||
| ) |
Add ellipse.
| std::shared_ptr< SketchAPI_Ellipse > SketchAPI_Sketch::addEllipse | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add ellipse.
| std::shared_ptr< SketchAPI_Ellipse > SketchAPI_Sketch::addEllipse | ( | const std::wstring & | theExternalName | ) |
Add ellipse.
| std::shared_ptr< SketchAPI_EllipticArc > SketchAPI_Sketch::addEllipticArc | ( | double | theCenterX, |
| double | theCenterY, | ||
| double | theFocusX, | ||
| double | theFocusY, | ||
| double | theStartX, | ||
| double | theStartY, | ||
| double | theEndX, | ||
| double | theEndY, | ||
| bool | theInversed = false |
||
| ) |
Add elliptic arc.
| std::shared_ptr< SketchAPI_MacroEllipticArc > SketchAPI_Sketch::addEllipticArc | ( | const PointOrReference & | theCenter, |
| const PointOrReference & | theMajorAxisPoint, | ||
| const PointOrReference & | theStartPoint, | ||
| const PointOrReference & | theEndPoint, | ||
| bool | theInversed = false |
||
| ) |
Add elliptic arc.
| std::shared_ptr< SketchAPI_EllipticArc > SketchAPI_Sketch::addEllipticArc | ( | const ModelHighAPI_Selection & | theExternal | ) |
Add elliptic arc.
| std::shared_ptr< SketchAPI_EllipticArc > SketchAPI_Sketch::addEllipticArc | ( | const std::wstring & | theExternalName | ) |
Add elliptic arc.
| std::shared_ptr< SketchAPI_BSpline > SketchAPI_Sketch::addSpline | ( | const ModelHighAPI_Selection & | external = ModelHighAPI_Selection(), |
| const int | degree = -1, |
||
| const std::list< PointOrReference > & | poles = std::list<PointOrReference>(), |
||
| const std::list< ModelHighAPI_Double > & | weights = std::list<ModelHighAPI_Double>(), |
||
| const std::list< ModelHighAPI_Double > & | knots = std::list<ModelHighAPI_Double>(), |
||
| const std::list< ModelHighAPI_Integer > & | multiplicities = std::list<ModelHighAPI_Integer>(), |
||
| const bool | periodic = false |
||
| ) |
Add B-spline.
| std::shared_ptr< SketchAPI_BSpline > SketchAPI_Sketch::addInterpolation | ( | const std::list< ModelHighAPI_RefAttr > & | points, |
| const bool | periodic = false, |
||
| const bool | closed = false |
||
| ) |
Add interpolation feature.
| std::shared_ptr< SketchAPI_BSpline > SketchAPI_Sketch::addApproximation | ( | const std::list< ModelHighAPI_RefAttr > & | points, |
| const ModelHighAPI_Double & | precision = ModelHighAPI_Double(1.e-3), |
||
| const bool | periodic = false, |
||
| const bool | closed = false |
||
| ) |
Add approximation feature.
| std::shared_ptr< SketchAPI_Projection > SketchAPI_Sketch::addProjection | ( | const ModelHighAPI_Selection & | theExternalFeature, |
| bool | keepResult = false, |
||
| bool | keepRefToOriginal = true |
||
| ) |
Add projection.
| std::shared_ptr< SketchAPI_Mirror > SketchAPI_Sketch::addMirror | ( | const ModelHighAPI_RefAttr & | theMirrorLine, |
| const std::list< std::shared_ptr< ModelAPI_Object > > & | theObjects | ||
| ) |
Add mirror.
| std::shared_ptr< SketchAPI_Offset > SketchAPI_Sketch::addOffset | ( | const std::list< std::shared_ptr< ModelAPI_Object > > & | theObjects, |
| const ModelHighAPI_Double & | theValue, | ||
| const bool | theReversed = false, |
||
| const std::string & | theJointType = SketchPlugin_Offset::JOINT_KEEP_DISTANCE(), |
||
| const bool | theApprox = false |
||
| ) |
Add offset.
| std::shared_ptr< SketchAPI_Translation > SketchAPI_Sketch::addTranslation | ( | const std::list< std::shared_ptr< ModelAPI_Object > > & | theObjects, |
| const ModelHighAPI_RefAttr & | thePoint1, | ||
| const ModelHighAPI_RefAttr & | thePoint2, | ||
| const ModelHighAPI_Integer & | theNumberOfObjects, | ||
| bool | theFullValue = false |
||
| ) |
Add translation.
| std::shared_ptr< SketchAPI_Rotation > SketchAPI_Sketch::addRotation | ( | const std::list< std::shared_ptr< ModelAPI_Object > > & | theObjects, |
| const ModelHighAPI_RefAttr & | theCenter, | ||
| const ModelHighAPI_Double & | theAngle, | ||
| const ModelHighAPI_Integer & | theNumberOfObjects, | ||
| bool | theFullValue = false, |
||
| bool | theReversed = false |
||
| ) |
Add rotation.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::addSplit | ( | const ModelHighAPI_Reference & | theFeature, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePositionPoint | ||
| ) |
Add split.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::addTrim | ( | const ModelHighAPI_Reference & | theFeature, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | thePositionPoint | ||
| ) |
Add trim.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setAngle | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| const ModelHighAPI_Double & | theValue, | ||
| const std::string & | type = std::string(), |
||
| bool | is_active = true |
||
| ) |
Set angle.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setAngleComplementary | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set complementary angle.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setAngleBackward | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set backward angle (= 360 - angle)
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setCoincident | ( | const ModelHighAPI_RefAttr & | thePoint1, |
| const ModelHighAPI_RefAttr & | thePoint2, | ||
| bool | is_active = true |
||
| ) |
Set coincident.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setCollinear | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| bool | is_active = true |
||
| ) |
Set collinear.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setDistance | ( | const ModelHighAPI_RefAttr & | thePoint, |
| const ModelHighAPI_RefAttr & | thePointOrLine, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | isSigned = false, |
||
| bool | is_active = true |
||
| ) |
Set distance.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setSignedDistance | ( | const ModelHighAPI_RefAttr & | thePoint, |
| const ModelHighAPI_RefAttr & | thePointOrLine, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set signed distance.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setUnsignedDistance | ( | const ModelHighAPI_RefAttr & | thePoint, |
| const ModelHighAPI_RefAttr & | thePointOrLine, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set unsigned distance.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setHorizontalDistance | ( | const ModelHighAPI_RefAttr & | thePoint1, |
| const ModelHighAPI_RefAttr & | thePoint2, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set horizontal distance.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setVerticalDistance | ( | const ModelHighAPI_RefAttr & | thePoint1, |
| const ModelHighAPI_RefAttr & | thePoint2, | ||
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set vertical distance.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setEqual | ( | const ModelHighAPI_RefAttr & | theObject1, |
| const ModelHighAPI_RefAttr & | theObject2, | ||
| bool | is_active = true |
||
| ) |
Set equal.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setFillet | ( | const ModelHighAPI_RefAttr & | thePoint | ) |
Set fillet.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setFilletWithRadius | ( | const ModelHighAPI_RefAttr & | thePoint, |
| const ModelHighAPI_Double & | theRadius | ||
| ) |
Set fillet with additional radius constraint.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setFixed | ( | const ModelHighAPI_RefAttr & | theObject, |
| bool | is_active = true |
||
| ) |
Set fixed.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setHorizontal | ( | const ModelHighAPI_RefAttr & | theLine, |
| bool | is_active = true |
||
| ) |
Set horizontal.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setLength | ( | const ModelHighAPI_RefAttr & | theLine, |
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set length.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setMiddlePoint | ( | const ModelHighAPI_RefAttr & | thePoint, |
| const ModelHighAPI_RefAttr & | theLine, | ||
| bool | is_active = true |
||
| ) |
Set middle.
| std::shared_ptr< SketchAPI_MacroMiddlePoint > SketchAPI_Sketch::setMiddlePoint | ( | const ModelHighAPI_RefAttr & | theLine, |
| bool | is_active = true |
||
| ) |
Set middle.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setParallel | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| bool | is_active = true |
||
| ) |
Set parallel.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setPerpendicular | ( | const ModelHighAPI_RefAttr & | theLine1, |
| const ModelHighAPI_RefAttr & | theLine2, | ||
| bool | is_active = true |
||
| ) |
Set perpendicular.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setRadius | ( | const ModelHighAPI_RefAttr & | theCircleOrArc, |
| const ModelHighAPI_Double & | theValue, | ||
| bool | is_active = true |
||
| ) |
Set radius.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setTangent | ( | const ModelHighAPI_RefAttr & | theLine, |
| const ModelHighAPI_RefAttr & | theCircle, | ||
| bool | is_active = true |
||
| ) |
Set tangent.
| std::shared_ptr< ModelHighAPI_Interface > SketchAPI_Sketch::setVertical | ( | const ModelHighAPI_RefAttr & | theLine, |
| bool | is_active = true |
||
| ) |
Set vertical.
| void SketchAPI_Sketch::setValue | ( | const std::shared_ptr< ModelHighAPI_Interface > & | theConstraint, |
| const ModelHighAPI_Double & | theValue | ||
| ) |
Set constraint value.
| void SketchAPI_Sketch::move | ( | const ModelHighAPI_RefAttr & | theMovedEntity, |
| const std::shared_ptr< GeomAPI_Pnt2d > & | theTargetPoint | ||
| ) |
Move point or sketch feature.
| void SketchAPI_Sketch::move | ( | const ModelHighAPI_RefAttr & | theMovedEntity, |
| double | theTargetX, | ||
| double | theTargetY | ||
| ) |
Move point or sketch feature.
| std::list< ModelHighAPI_Selection > SketchAPI_Sketch::selectFace | ( | ) | const |
Select face.
|
virtual |
Dump wrapped feature.
Reimplemented from ModelHighAPI_Interface.
|
inherited |
Return ModelAPI_Feature.
|
inherited |
If feature is composite return intefrace for sub-feature by zero-based index, or empty pointer if feature not composite or does not have sub-feature with such index.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
Return firts object of the feature.
|
virtualinherited |
Return all objects of the feature.
|
virtualinherited |
Return default result. Default implementation feature()->lastResult()
|
inherited |
Throw exception to event loop.
|
inherited |
Return name of getter for specified attribute.
|
virtualinherited |
Returns all the vertices produced by this feature.
|
virtualinherited |
Returns all the edges produced by this feature.
|
virtualinherited |
Returns all the wires produced by this feature.
|
virtualinherited |
Returns all the faces produced by this feature.
|
virtualinherited |
Returns all the shells produced by this feature.
|
virtualinherited |
Returns all the solids produced by this feature.
|
protectedinherited |
feature of this interface
|
protectedinherited |
names of attributes and their getters