NX Open C++ Reference Guide
|
Represents a CAE::ElemEdgePathMethod . More...
Public Member Functions | |
void | AddSeedEdge (NXOpen::CAE::FENode *seedStartNode, NXOpen::CAE::FEElemEdge *seedElemEdge) |
Add seed (start vertex and edge) to the end of the path. | |
void | FlipPath () |
Flip the path start and end. | |
void | GetPathEdges (std::vector< NXOpen::CAE::FENode * > &pathStartNodes, std::vector< NXOpen::CAE::FEElemEdge * > &pathElemEdges) |
Returns the resultant start vertics and edges of the path. | |
void | GetSeedEdges (std::vector< NXOpen::CAE::FENode * > &seedStartNodes, std::vector< NXOpen::CAE::FEElemEdge * > &seedElemEdges) |
Returns the seed start vertices and edges which define the path. | |
void | RemoveSeedEdge (NXOpen::CAE::FEElemEdge *seedElemEdge) |
Remove seed (start vertex and edge) from the path. | |
![]() | |
virtual | ~SelectionMethod () |
Frees the object from memory. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents a CAE::ElemEdgePathMethod .
The edge path selection builder is used by other builders to define a start point (CAE::FENode ) and a path defined by connected CAE edges (CAE::FEElemEdge ). The path is defined by adding seed edges which are each defined by a start point (CAE::FENode ) and a an edge (CAE::FEElemEdge ). The path object uses these seeds as input to an algorithm which will determine the complete, coninuous, path. If the resultant path is not the one desired, this indicates that too few seeds were specified. The path class does not allow a curve to be used more than once in a path. Calling CAE::ElemEdgePathMethod::FlipPath will flip the direction of the path definition, such that subsequent calls to CAE::ElemEdgePathMethod::GetSeedEdges or CAE::ElemEdgePathMethod::GetPathEdges will return seed or path edges in the new, flipped, order along with correspondingly updated start vertices.
To obtain an instance of this class use CAE::SmartSelectionManager
Created in NX9.0.0.
void NXOpen::CAE::ElemEdgePathMethod::AddSeedEdge | ( | NXOpen::CAE::FENode * | seedStartNode, |
NXOpen::CAE::FEElemEdge * | seedElemEdge | ||
) |
Add seed (start vertex and edge) to the end of the path.
The vertex defines the start point along the edge. If the addition of the seed would result in an invalid path, the seed will not be added and the function will return an error.
Created in NX9.0.0.
License requirements : None
seedStartNode | seed node |
seedElemEdge | seed element edge |
void NXOpen::CAE::ElemEdgePathMethod::FlipPath | ( | ) |
Flip the path start and end.
This changes the definition of the path such that subsequent calls to CAE::ElemEdgePathMethod::GetSeedEdges or CAE::ElemEdgePathMethod::GetPathEdges will return seed or path edges in the new, flipped, order along with correspondingly updated start vertices.
Created in NX9.0.0.
License requirements : None
void NXOpen::CAE::ElemEdgePathMethod::GetPathEdges | ( | std::vector< NXOpen::CAE::FENode * > & | pathStartNodes, |
std::vector< NXOpen::CAE::FEElemEdge * > & | pathElemEdges | ||
) |
Returns the resultant start vertics and edges of the path.
These define a path which is continuous from start to end.
Created in NX9.0.0.
License requirements : None
pathStartNodes | resultant start vertices |
pathElemEdges | resultant element edges |
void NXOpen::CAE::ElemEdgePathMethod::GetSeedEdges | ( | std::vector< NXOpen::CAE::FENode * > & | seedStartNodes, |
std::vector< NXOpen::CAE::FEElemEdge * > & | seedElemEdges | ||
) |
Returns the seed start vertices and edges which define the path.
The path object uses these seeds as input to an algorithm which will determine the complete, coninuous, path.
Created in NX9.0.0.
License requirements : None
seedStartNodes | seed start vertices |
seedElemEdges | seed element edges |
void NXOpen::CAE::ElemEdgePathMethod::RemoveSeedEdge | ( | NXOpen::CAE::FEElemEdge * | seedElemEdge | ) |
Remove seed (start vertex and edge) from the path.
If the removal of the seed would result in an invalid path, the seed will not be added and the function will return an error.
Created in NX9.0.0.
License requirements : None
seedElemEdge | seed element edge |