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

Public Member Functions | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature) | |
| Constructor without values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theObject) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &thePoint, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Double &theDX, const ModelHighAPI_Double &theDY, const ModelHighAPI_Double &theDZ) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) | |
| Constructor with values. More... | |
| ConstructionAPI_Axis (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2) | |
| Constructor with values. More... | |
| virtual | ~ConstructionAPI_Axis () |
| Destructor. More... | |
| virtual std::string | getID () |
| virtual std::shared_ptr< ModelAPI_AttributeString > | creationMethod () const |
| Creation method. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | firstPoint () const |
| First point. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | secondPoint () const |
| Second point. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | cylindricalFace () const |
| Cylindrical face. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | xDirection () const |
| X direction. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | yDirection () const |
| Y direction. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | zDirection () const |
| Z direction. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | xDimension () const |
| X dimension. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | yDimension () const |
| Y dimension. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | zDimension () const |
| Z dimension. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | line () const |
| Line. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | plane () const |
| Plane. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | point () const |
| Point. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | plane1 () const |
| Plane 1. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | useOffset1 () const |
| Use offset 1. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | offset1 () const |
| Offset 1. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeBoolean > | reverseOffset1 () const |
| Reverse offset 1. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | plane2 () const |
| Plane 2. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | useOffset2 () const |
| Use offset 2. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | offset2 () const |
| Offset 2. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeBoolean > | reverseOffset2 () const |
| Reverse offset 2. More... | |
| void | setByPoints (const ModelHighAPI_Selection &thePoint1, const ModelHighAPI_Selection &thePoint2) |
| Set points. More... | |
| void | setByCylindricalFace (const ModelHighAPI_Selection &theCylindricalFace) |
| Set cylindrical face. More... | |
| void | setByPointAndDirection (const ModelHighAPI_Selection &thePoint, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) |
| Set direction. More... | |
| void | setByDimensions (const ModelHighAPI_Double &theDX, const ModelHighAPI_Double &theDY, const ModelHighAPI_Double &theDZ) |
| Set dimensions. More... | |
| void | setByLine (const ModelHighAPI_Selection &theCylindricalFace) |
| Set by line. More... | |
| void | setByPlaneAndPoint (const ModelHighAPI_Selection &thePlane, const ModelHighAPI_Selection &thePoint) |
| Set by plane and point. More... | |
| void | setByTwoPlanes (const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Selection &thePlane2) |
| Set by two planes. More... | |
| void | setByTwoPlanes (const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) |
| Set by two planes. More... | |
| void | setByTwoPlanes (const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Selection &thePlane2, const ModelHighAPI_Double &theOffset2, const bool theReverseOffset2) |
| Set by two planes. More... | |
| void | setByTwoPlanes (const ModelHighAPI_Selection &thePlane1, const ModelHighAPI_Double &theOffset1, const bool theReverseOffset1, const ModelHighAPI_Selection &thePlane2) |
| Set by two planes. 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 () |
Protected Attributes | |
| std::shared_ptr< ModelAPI_AttributeString > | mycreationMethod |
| std::shared_ptr< ModelAPI_AttributeSelection > | myfirstPoint |
| std::shared_ptr< ModelAPI_AttributeSelection > | mysecondPoint |
| std::shared_ptr< ModelAPI_AttributeSelection > | mycylindricalFace |
| std::shared_ptr< ModelAPI_AttributeDouble > | myxDirection |
| std::shared_ptr< ModelAPI_AttributeDouble > | myyDirection |
| std::shared_ptr< ModelAPI_AttributeDouble > | myzDirection |
| std::shared_ptr< ModelAPI_AttributeDouble > | myxDimension |
| std::shared_ptr< ModelAPI_AttributeDouble > | myyDimension |
| std::shared_ptr< ModelAPI_AttributeDouble > | myzDimension |
| std::shared_ptr< ModelAPI_AttributeSelection > | myline |
| std::shared_ptr< ModelAPI_AttributeSelection > | myplane |
| std::shared_ptr< ModelAPI_AttributeSelection > | mypoint |
| std::shared_ptr< ModelAPI_AttributeSelection > | myplane1 |
| std::shared_ptr< ModelAPI_AttributeString > | myuseOffset1 |
| std::shared_ptr< ModelAPI_AttributeDouble > | myoffset1 |
| std::shared_ptr< ModelAPI_AttributeBoolean > | myreverseOffset1 |
| std::shared_ptr< ModelAPI_AttributeSelection > | myplane2 |
| std::shared_ptr< ModelAPI_AttributeString > | myuseOffset2 |
| std::shared_ptr< ModelAPI_AttributeDouble > | myoffset2 |
| std::shared_ptr< ModelAPI_AttributeBoolean > | myreverseOffset2 |
| 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 Axis feature.
|
explicit |
Constructor without values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2 | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theObject | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | thePoint, | ||
| const ModelHighAPI_Double & | theX, | ||
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Double & | theDX, | ||
| const ModelHighAPI_Double & | theDY, | ||
| const ModelHighAPI_Double & | theDZ | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Constructor with values.
| ConstructionAPI_Axis::ConstructionAPI_Axis | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | thePlane1, | ||
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2 | ||
| ) |
Constructor with values.
|
virtual |
Destructor.
|
inlinevirtual |
Creation method.
|
inlinevirtual |
First point.
|
inlinevirtual |
Second point.
|
inlinevirtual |
Cylindrical face.
|
inlinevirtual |
X direction.
|
inlinevirtual |
Y direction.
|
inlinevirtual |
Z direction.
|
inlinevirtual |
X dimension.
|
inlinevirtual |
Y dimension.
|
inlinevirtual |
Z dimension.
|
inlinevirtual |
Line.
|
inlinevirtual |
Plane.
|
inlinevirtual |
Point.
|
inlinevirtual |
Plane 1.
|
inlinevirtual |
Use offset 1.
|
inlinevirtual |
Offset 1.
|
inlinevirtual |
Reverse offset 1.
|
inlinevirtual |
Plane 2.
|
inlinevirtual |
Use offset 2.
|
inlinevirtual |
Offset 2.
|
inlinevirtual |
Reverse offset 2.
| void ConstructionAPI_Axis::setByPoints | ( | const ModelHighAPI_Selection & | thePoint1, |
| const ModelHighAPI_Selection & | thePoint2 | ||
| ) |
Set points.
| void ConstructionAPI_Axis::setByCylindricalFace | ( | const ModelHighAPI_Selection & | theCylindricalFace | ) |
Set cylindrical face.
| void ConstructionAPI_Axis::setByPointAndDirection | ( | const ModelHighAPI_Selection & | thePoint, |
| const ModelHighAPI_Double & | theX, | ||
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Set direction.
| void ConstructionAPI_Axis::setByDimensions | ( | const ModelHighAPI_Double & | theDX, |
| const ModelHighAPI_Double & | theDY, | ||
| const ModelHighAPI_Double & | theDZ | ||
| ) |
Set dimensions.
| void ConstructionAPI_Axis::setByLine | ( | const ModelHighAPI_Selection & | theCylindricalFace | ) |
Set by line.
| void ConstructionAPI_Axis::setByPlaneAndPoint | ( | const ModelHighAPI_Selection & | thePlane, |
| const ModelHighAPI_Selection & | thePoint | ||
| ) |
Set by plane and point.
| void ConstructionAPI_Axis::setByTwoPlanes | ( | const ModelHighAPI_Selection & | thePlane1, |
| const ModelHighAPI_Selection & | thePlane2 | ||
| ) |
Set by two planes.
| void ConstructionAPI_Axis::setByTwoPlanes | ( | const ModelHighAPI_Selection & | thePlane1, |
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Set by two planes.
| void ConstructionAPI_Axis::setByTwoPlanes | ( | const ModelHighAPI_Selection & | thePlane1, |
| const ModelHighAPI_Selection & | thePlane2, | ||
| const ModelHighAPI_Double & | theOffset2, | ||
| const bool | theReverseOffset2 | ||
| ) |
Set by two planes.
| void ConstructionAPI_Axis::setByTwoPlanes | ( | const ModelHighAPI_Selection & | thePlane1, |
| const ModelHighAPI_Double & | theOffset1, | ||
| const bool | theReverseOffset1, | ||
| const ModelHighAPI_Selection & | thePlane2 | ||
| ) |
Set by two planes.
|
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