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

Public Member Functions | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature) | |
| Constructor without values. More... | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) | |
| Constructor with values. More... | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theEdge, const ModelHighAPI_Double &theOffset, const bool theUseRatio=false, const bool theReverse=false) | |
| Constructor with values. More... | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2) | |
| Constructor with values: intersected objects. More... | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theObject1, const ModelHighAPI_Selection &theObject2, const ModelHighAPI_Selection &theObject3) | |
| Constructor with values: intersected objects. More... | |
| ConstructionAPI_Point (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theObject, const bool theIsCircularEdge=false, const bool theIsXYZSelection=false) | |
| Constructor with values: object and circular edge flag. More... | |
| virtual | ~ConstructionAPI_Point () |
| Destructor. More... | |
| virtual std::string | getID () |
| virtual std::shared_ptr< GeomDataAPI_Point > | point () const |
| Point attribute. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | creationMethod () const |
| Creation method. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | intersectionType () const |
| Type of the intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionLine1 () const |
| Line for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionLine2 () const |
| Line for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionLine () const |
| Line for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionPlane () const |
| Plane for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionPlane1 () const |
| Plane for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionPlane2 () const |
| Plane for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | intersectionPlane3 () const |
| Plane for intersection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | useOffset () const |
| Use offset. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | offset () const |
| Offset. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeBoolean > | reverseOffset () const |
| Reverse offset. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | edge () const |
| Edge. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | offsetType () const |
| Type of the offset on edge. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | distance () const |
| Distance. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeDouble > | ratio () const |
| Ratio. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeBoolean > | reverse () const |
| Reverse. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | pointToProject () const |
| Point to project. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | projectionType () const |
| Type of the point projection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | faceForPointProjection () const |
| Face for point projection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | edgeForPointProjection () const |
| Edge for point projection. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeString > | geometricalPropertyType () const |
| Type of the geometrical property. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | objectForCenterOfGravity () const |
| Object for center of gravity. More... | |
| virtual std::shared_ptr< ModelAPI_AttributeSelection > | objectForCenterOfCircle () const |
| Object for center of circle. More... | |
| void | setByXYZ (const ModelHighAPI_Double &theX, const ModelHighAPI_Double &theY, const ModelHighAPI_Double &theZ) |
| Set point values. More... | |
| void | setByOffsetOnEdge (const ModelHighAPI_Selection &theEdge, const ModelHighAPI_Double &theOffset, const bool theUseRatio=false, const bool theReverse=false) |
| Set edge and distance on it for point. More... | |
| void | setByProjectionOnEdge (const ModelHighAPI_Selection &theVertex, const ModelHighAPI_Selection &theEdge) |
| Set point and edge for projection. More... | |
| void | setByProjectionOnFace (const ModelHighAPI_Selection &theVertex, const ModelHighAPI_Selection &theFace) |
| Set point and face for projection. More... | |
| void | setByLinesIntersection (const ModelHighAPI_Selection &theEdge1, const ModelHighAPI_Selection &theEdge2) |
| Set lines for intersections. More... | |
| void | setByLineAndPlaneIntersection (const ModelHighAPI_Selection &theEdge, const ModelHighAPI_Selection &theFace) |
| Set line and plane for intersections. More... | |
| void | setByPlanesIntersection (const ModelHighAPI_Selection &theFace1, const ModelHighAPI_Selection &theFace2, const ModelHighAPI_Selection &theFace3) |
| Set faces for intersections. More... | |
| void | setByCenterOfGravity (const ModelHighAPI_Selection &theObject) |
| Set object for center of gravity. More... | |
| void | setByCenterOfCircle (const ModelHighAPI_Selection &theObject) |
| Set object for center of circular edge. 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< GeomDataAPI_Point > | mypoint |
| std::shared_ptr< ModelAPI_AttributeString > | mycreationMethod |
| std::shared_ptr< ModelAPI_AttributeString > | myintersectionType |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionLine1 |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionLine2 |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionLine |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionPlane |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionPlane1 |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionPlane2 |
| std::shared_ptr< ModelAPI_AttributeSelection > | myintersectionPlane3 |
| std::shared_ptr< ModelAPI_AttributeString > | myuseOffset |
| std::shared_ptr< ModelAPI_AttributeDouble > | myoffset |
| std::shared_ptr< ModelAPI_AttributeBoolean > | myreverseOffset |
| std::shared_ptr< ModelAPI_AttributeSelection > | myedge |
| std::shared_ptr< ModelAPI_AttributeString > | myoffsetType |
| std::shared_ptr< ModelAPI_AttributeDouble > | mydistance |
| std::shared_ptr< ModelAPI_AttributeDouble > | myratio |
| std::shared_ptr< ModelAPI_AttributeBoolean > | myreverse |
| std::shared_ptr< ModelAPI_AttributeSelection > | mypointToProject |
| std::shared_ptr< ModelAPI_AttributeString > | myprojectionType |
| std::shared_ptr< ModelAPI_AttributeSelection > | myfaceForPointProjection |
| std::shared_ptr< ModelAPI_AttributeSelection > | myedgeForPointProjection |
| std::shared_ptr< ModelAPI_AttributeString > | mygeometricalPropertyType |
| std::shared_ptr< ModelAPI_AttributeSelection > | myobjectForCenterOfGravity |
| std::shared_ptr< ModelAPI_AttributeSelection > | myobjectForCenterOfCircle |
| 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 Point feature.
|
explicit |
Constructor without values.
| ConstructionAPI_Point::ConstructionAPI_Point | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Double & | theX, | ||
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Constructor with values.
| ConstructionAPI_Point::ConstructionAPI_Point | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theEdge, | ||
| const ModelHighAPI_Double & | theOffset, | ||
| const bool | theUseRatio = false, |
||
| const bool | theReverse = false |
||
| ) |
Constructor with values.
| ConstructionAPI_Point::ConstructionAPI_Point | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2 | ||
| ) |
Constructor with values: intersected objects.
| ConstructionAPI_Point::ConstructionAPI_Point | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theObject1, | ||
| const ModelHighAPI_Selection & | theObject2, | ||
| const ModelHighAPI_Selection & | theObject3 | ||
| ) |
Constructor with values: intersected objects.
| ConstructionAPI_Point::ConstructionAPI_Point | ( | const std::shared_ptr< ModelAPI_Feature > & | theFeature, |
| const ModelHighAPI_Selection & | theObject, | ||
| const bool | theIsCircularEdge = false, |
||
| const bool | theIsXYZSelection = false |
||
| ) |
Constructor with values: object and circular edge flag.
May be used for creation of point by coordinates using selection-vertex.
|
virtual |
Destructor.
|
inlinevirtual |
Point attribute.
|
inlinevirtual |
Creation method.
|
inlinevirtual |
Type of the intersection.
|
inlinevirtual |
Line for intersection.
|
inlinevirtual |
Line for intersection.
|
inlinevirtual |
Line for intersection.
|
inlinevirtual |
Plane for intersection.
|
inlinevirtual |
Plane for intersection.
|
inlinevirtual |
Plane for intersection.
|
inlinevirtual |
Plane for intersection.
|
inlinevirtual |
Use offset.
|
inlinevirtual |
Offset.
|
inlinevirtual |
Reverse offset.
|
inlinevirtual |
Edge.
|
inlinevirtual |
Type of the offset on edge.
|
inlinevirtual |
Distance.
|
inlinevirtual |
Ratio.
|
inlinevirtual |
Reverse.
|
inlinevirtual |
Point to project.
|
inlinevirtual |
Type of the point projection.
|
inlinevirtual |
Face for point projection.
|
inlinevirtual |
Edge for point projection.
|
inlinevirtual |
Type of the geometrical property.
|
inlinevirtual |
Object for center of gravity.
|
inlinevirtual |
Object for center of circle.
| void ConstructionAPI_Point::setByXYZ | ( | const ModelHighAPI_Double & | theX, |
| const ModelHighAPI_Double & | theY, | ||
| const ModelHighAPI_Double & | theZ | ||
| ) |
Set point values.
| void ConstructionAPI_Point::setByOffsetOnEdge | ( | const ModelHighAPI_Selection & | theEdge, |
| const ModelHighAPI_Double & | theOffset, | ||
| const bool | theUseRatio = false, |
||
| const bool | theReverse = false |
||
| ) |
Set edge and distance on it for point.
| void ConstructionAPI_Point::setByProjectionOnEdge | ( | const ModelHighAPI_Selection & | theVertex, |
| const ModelHighAPI_Selection & | theEdge | ||
| ) |
Set point and edge for projection.
| void ConstructionAPI_Point::setByProjectionOnFace | ( | const ModelHighAPI_Selection & | theVertex, |
| const ModelHighAPI_Selection & | theFace | ||
| ) |
Set point and face for projection.
| void ConstructionAPI_Point::setByLinesIntersection | ( | const ModelHighAPI_Selection & | theEdge1, |
| const ModelHighAPI_Selection & | theEdge2 | ||
| ) |
Set lines for intersections.
| void ConstructionAPI_Point::setByLineAndPlaneIntersection | ( | const ModelHighAPI_Selection & | theEdge, |
| const ModelHighAPI_Selection & | theFace | ||
| ) |
Set line and plane for intersections.
| void ConstructionAPI_Point::setByPlanesIntersection | ( | const ModelHighAPI_Selection & | theFace1, |
| const ModelHighAPI_Selection & | theFace2, | ||
| const ModelHighAPI_Selection & | theFace3 | ||
| ) |
Set faces for intersections.
| void ConstructionAPI_Point::setByCenterOfGravity | ( | const ModelHighAPI_Selection & | theObject | ) |
Set object for center of gravity.
| void ConstructionAPI_Point::setByCenterOfCircle | ( | const ModelHighAPI_Selection & | theObject | ) |
Set object for center of circular edge.
|
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