NX Open C++ Reference Guide
|
a class which collects all the geometric entities used to identify a region of faces during a boolean feature. More...
Public Types | |
enum | ExtremityType { ExtremityTypeStart, ExtremityTypeEnd } |
This enum represents the type of edge extremity. More... | |
Public Member Functions | |
void | AppendOneBoundaryBody (NXOpen::Body *boundaryBodyEid, bool sideness) |
Append one new region boundary body to the region tracker Created in NX11.0.1. More... | |
void | GetEdgeSelectors (std::vector< NXOpen::Face * > &entities) |
The input target or tool edges used to identify the region Created in NX8.5.0. More... | |
void | GetFaceSelectors (std::vector< NXOpen::Face * > &entities) |
The input target or tool faces used to identify the region Created in NX8.5.0. More... | |
NXOpen::Body * | GetOwningBody () |
The owning body where the region is located onto. More... | |
void | GetVertexSelectors (std::vector< NXOpen::Edge * > &entities, std::vector< NXOpen::GeometricUtilities::RegionTracker::ExtremityType > &extremities) |
The input target or tool vertices (edge extremities) used to identify the region Created in NX8.5.0. More... | |
bool | OnTool () |
Returns a flag indicating if the region belongs to the tool (true) or to the target (false) Created in NX8.5.0. More... | |
void | SetEdgeSelectors (const std::vector< NXOpen::Edge * > &entities) |
The input target or tool edges used to identify the region Created in NX8.5.0. More... | |
void | SetFaceSelectors (const std::vector< NXOpen::Face * > &entities) |
The input target or tool faces used to identify the region Created in NX8.5.0. More... | |
void | SetOneEdgeSelector (NXOpen::Edge *entity) |
An input target or tool edge used to identify the region Created in NX8.5.0. More... | |
void | SetOneFaceSelector (NXOpen::Face *entity) |
An input target or tool face used to identify the region Created in NX8.5.0. More... | |
void | SetOnePointSelector (const NXOpen::Point3d &location) |
The input point location (x,y,z) used to identify the region Created in NX8.5.0. More... | |
void | SetOneVertexSelector (NXOpen::Edge *entity, NXOpen::GeometricUtilities::RegionTracker::ExtremityType extremity) |
One input target or tool vertex (edge extremity) used to identify the region Created in NX8.5.0. More... | |
void | SetOnTool (bool isOnTool) |
Sets a flag indicating if the region belongs to the tool (true) or to the target (false) Created in NX8.5.0. More... | |
void | SetOwningBody (NXOpen::Body *owningBodyEid) |
The owning body where the region is located onto Created in NX11.0.1. More... | |
void | SetVertexSelectors (const std::vector< NXOpen::Edge * > &entities, const std::vector< NXOpen::GeometricUtilities::RegionTracker::ExtremityType > &extremities) |
The input target or tool vertices (edge extremities) used to identify the region Created in NX8.5.0. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
a class which collects all the geometric entities used to identify a region of faces during a boolean feature.
Created in NX8.5.0.
void NXOpen::GeometricUtilities::RegionTracker::AppendOneBoundaryBody | ( | NXOpen::Body * | boundaryBodyEid, |
bool | sideness | ||
) |
Append one new region boundary body to the region tracker
Created in NX11.0.1.
License requirements : solid_modeling ("SOLIDS MODELING")
boundaryBodyEid | region boundary body |
sideness | region boundary sideness |
void NXOpen::GeometricUtilities::RegionTracker::GetEdgeSelectors | ( | std::vector< NXOpen::Face * > & | entities | ) |
The input target or tool edges used to identify the region
Created in NX8.5.0.
License requirements : None
entities | Entities to use as selector |
void NXOpen::GeometricUtilities::RegionTracker::GetFaceSelectors | ( | std::vector< NXOpen::Face * > & | entities | ) |
The input target or tool faces used to identify the region
Created in NX8.5.0.
License requirements : None
entities | Entities to use as selector |
NXOpen::Body* NXOpen::GeometricUtilities::RegionTracker::GetOwningBody | ( | ) |
The owning body where the region is located onto.
void NXOpen::GeometricUtilities::RegionTracker::GetVertexSelectors | ( | std::vector< NXOpen::Edge * > & | entities, |
std::vector< NXOpen::GeometricUtilities::RegionTracker::ExtremityType > & | extremities | ||
) |
The input target or tool vertices (edge extremities) used to identify the region
Created in NX8.5.0.
License requirements : None
entities | Edges associated with the vertex |
extremities | Extremity (false : start, true : end) of the edge corresponding to vertex |
bool NXOpen::GeometricUtilities::RegionTracker::OnTool | ( | ) |
Returns a flag indicating if the region belongs to the tool (true) or to the target (false)
Created in NX8.5.0.
License requirements : None
void NXOpen::GeometricUtilities::RegionTracker::SetEdgeSelectors | ( | const std::vector< NXOpen::Edge * > & | entities | ) |
The input target or tool edges used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entities | Entities to use as selector |
void NXOpen::GeometricUtilities::RegionTracker::SetFaceSelectors | ( | const std::vector< NXOpen::Face * > & | entities | ) |
The input target or tool faces used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entities | Entities to use as selector |
void NXOpen::GeometricUtilities::RegionTracker::SetOneEdgeSelector | ( | NXOpen::Edge * | entity | ) |
An input target or tool edge used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entity | Entity to use as selector |
void NXOpen::GeometricUtilities::RegionTracker::SetOneFaceSelector | ( | NXOpen::Face * | entity | ) |
An input target or tool face used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entity | Entity to use as selector |
void NXOpen::GeometricUtilities::RegionTracker::SetOnePointSelector | ( | const NXOpen::Point3d & | location | ) |
The input point location (x,y,z) used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
location | location |
void NXOpen::GeometricUtilities::RegionTracker::SetOneVertexSelector | ( | NXOpen::Edge * | entity, |
NXOpen::GeometricUtilities::RegionTracker::ExtremityType | extremity | ||
) |
One input target or tool vertex (edge extremity) used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entity | Entity to use as selector |
extremity | Extremity (false : start, true : end) of the edge corresponding to vertex |
void NXOpen::GeometricUtilities::RegionTracker::SetOnTool | ( | bool | isOnTool | ) |
Sets a flag indicating if the region belongs to the tool (true) or to the target (false)
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
isOnTool | isontool |
void NXOpen::GeometricUtilities::RegionTracker::SetOwningBody | ( | NXOpen::Body * | owningBodyEid | ) |
The owning body where the region is located onto
Created in NX11.0.1.
License requirements : solid_modeling ("SOLIDS MODELING")
owningBodyEid | region owning body |
void NXOpen::GeometricUtilities::RegionTracker::SetVertexSelectors | ( | const std::vector< NXOpen::Edge * > & | entities, |
const std::vector< NXOpen::GeometricUtilities::RegionTracker::ExtremityType > & | extremities | ||
) |
The input target or tool vertices (edge extremities) used to identify the region
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
entities | Entities to use as selector |
extremities | Extremity (false : start, true : end) of the edge corresponding to vertex |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.