|
SHAPER
9.15.0
|
Public Types | |
| typedef std::map< std::shared_ptr< GeomAPI_Pnt >, std::pair< std::list< std::shared_ptr< GeomDataAPI_Point2D > >, std::list< std::shared_ptr< ModelAPI_Object > > > > | PointToRefsMap |
| Find points of intersection between the shape of the feature and all features in the sketch. More... | |
Static Public Member Functions | |
| static std::shared_ptr< GeomDataAPI_Point2D > | getPointOfRefAttr (ModelAPI_Feature *theFeature, const std::string &theAttribute, const std::string &theObjectFeatureKind="", const std::string &theObjectFeatureAttribute="") |
| Searches Point2D attribute of reference of the attribute of given feature. More... | |
| static void | getPointsOfReference (const std::shared_ptr< ModelAPI_Object > &theObject, const std::string &theReferenceFeatureKind, std::set< std::shared_ptr< GeomDataAPI_Point2D > > &theAttributes, const std::string &theObjectFeatureKind="", const std::string &theObjectFeatureAttribute="", const bool isSkipFeatureAttributes=true) |
| Fills container of point 2D attributes, which refer to the feature through the references features with the given kind. More... | |
| static void | getPointsIntersectedShape (const std::shared_ptr< ModelAPI_Feature > &theBaseFeature, const std::list< std::shared_ptr< ModelAPI_Feature > > &theFeatures, PointToRefsMap &thePointToAttributeOrObject) |
| static std::list< std::shared_ptr< GeomAPI_Pnt > > | getSetOfPntIntersectedShape (const std::shared_ptr< ModelAPI_Feature > &theBaseFeature, const std::list< std::shared_ptr< ModelAPI_Feature > > &theFeatures) |
| static void | getPointsInsideShape (const std::shared_ptr< GeomAPI_Shape > theBaseShape, const std::set< std::shared_ptr< GeomDataAPI_Point2D > > &theAttributes, const std::shared_ptr< GeomAPI_Pnt > &theOrigin, const std::shared_ptr< GeomAPI_Dir > &theDirX, const std::shared_ptr< GeomAPI_Dir > &theDirY, PointToRefsMap &thePointToAttributeOrObject) |
| Removes attributes which points are out of the base shape. More... | |
| static void | getPointsInsideShape_p (const std::shared_ptr< GeomAPI_Shape > theBaseShape, const std::set< std::shared_ptr< GeomDataAPI_Point2D > > &theAttributes, const std::shared_ptr< GeomAPI_Pnt > &theOrigin, const std::shared_ptr< GeomAPI_Dir > &theDirX, const std::shared_ptr< GeomAPI_Dir > &theDirY, std::list< std::shared_ptr< GeomAPI_Pnt > > &thePoints, std::map< std::shared_ptr< GeomDataAPI_Point2D >, std::shared_ptr< GeomAPI_Pnt > > &theAttributeToPoint) |
| Removes attributes which points are out of the base shape. More... | |
| static bool | isPointOnEdge (const std::shared_ptr< GeomAPI_Shape > theBaseShape, const std::shared_ptr< GeomAPI_Pnt > &thePoint, std::shared_ptr< GeomAPI_Pnt > &theProjectedPoint) |
| Finds projected point to the given shape line. More... | |
| static bool | isInnerPointOnEdge (const std::shared_ptr< GeomAPI_Shape > theBaseShape, const std::shared_ptr< GeomAPI_Pnt > &thePoint, std::shared_ptr< GeomAPI_Pnt > &theProjectedPoint) |
| Finds projected point to the given shape, which does not placed on the shape boundaries. More... | |
| typedef std::map<std::shared_ptr<GeomAPI_Pnt>, std::pair<std::list<std::shared_ptr<GeomDataAPI_Point2D> >, std::list<std::shared_ptr<ModelAPI_Object> > > > ModelGeomAlgo_Point2D::PointToRefsMap |
Find points of intersection between the shape of the feature and all features in the sketch.
| theBaseFeature | a feature: line, arc or circle that will be intersected |
| theFeatures | a container of features to intersect with the base feature |
| thePoints | a container of 3D points belong to the shape |
| theObjectToPoint | a container of object to point |
|
static |
Searches Point2D attribute of reference of the attribute of given feature.
| theFeature | a feature to obtain AttributeRefAttr |
| theAttribute | a name of AttributeRefAttr on the given feature |
| theObjectFeatureKind | a feature kind in object of attribute that satisfies the search |
| theObjectFeatureAttribute | a feature attribute in object that satisfies the search |
| isSkipFeatureAttributes | a boolean value if coincidences to the feature attributes |
essential check as it is called in openGl thread
|
static |
Fills container of point 2D attributes, which refer to the feature through the references features with the given kind.
| theObject | an object where references should be searched (e.g. a sketch line or result) |
| theReferenceFeatureKind | a kind of the feature to be processed (e.g. coincidence constraint) |
| theAttributes | a container of found point 2D attributes |
| theObjectFeatureKind | a feature kind in object of attribute that satisfies the search |
| theObjectFeatureAttribute | a feature attribute in object that satisfies the search |
| isSkipFeatureAttributes | a boolean value if coincidences to the feature attributes should be skipped |
|
static |
Removes attributes which points are out of the base shape.
| theBaseShape | a shape of check |
| theAttributes | a container of point 2D attributes |
| theOrigin | origin of a plane to generate 3D point by 2D attribute point |
| theDirX | plane X direction to generate 3D point by 2D attribute point |
| theDirY | plane X direction to generate 3D point by 2D attribute point |
| thePoints | a container of 3D points belong to the shape |
| theAttributeToPoint | a container of attribute to point |
|
static |
Removes attributes which points are out of the base shape.
| theBaseShape | a shape of check |
| theAttributes | a container of point 2D attributes |
| theOrigin | origin of a plane to generate 3D point by 2D attribute point |
| theDirX | plane X direction to generate 3D point by 2D attribute point |
| theDirY | plane X direction to generate 3D point by 2D attribute point |
| thePoints | a container of 3D points belong to the shape |
| theAttributeToPoint | a container of attribute to point |
|
static |
Finds projected point to the given shape line.
| theBaseShape | a shape of check |
| thePoint | [in] a point to project |
| theProjectedPoint | [out] a projected point |
|
static |
Finds projected point to the given shape, which does not placed on the shape boundaries.
| theBaseShape | a shape of check |
| thePoint | [in] a point to project |
| theProjectedPoint | [out] a projected point |