NX Open C++ Reference Guide
|
Represents a NXOpen::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. More... | |
void | AddSeedEdge (NXOpen::CAE::FENode *seedStartNode, NXOpen::CAE::FEElemEdge *seedElemEdge, bool preferFreeEdges, bool preferGeometryAssociatedEdges, bool preferFeatureElementEdge, double featureAngleTolerance, bool allowGapJumping, double gapJumpingTolerance) |
Add seed (start vertex and edge) to the end of the path. More... | |
void | FlipPath () |
Flip the path start and end. More... | |
void | GetPathEdges (std::vector< NXOpen::CAE::FENode * > &pathStartNodes, std::vector< NXOpen::CAE::FEElemEdge * > &pathElemEdges) |
Returns the resultant start vertics and edges of the path. More... | |
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. More... | |
void | GetSeeds (std::vector< NXOpen::CAE::FENode * > &seedStartNodes, std::vector< NXOpen::CAE::FEElemEdge * > &seedElemEdges, std::vector< bool > &preferFreeEdges, std::vector< bool > &preferGeometryAssociatedEdges, std::vector< bool > &preferFeatureElementEdge, std::vector< double > &featureAngleTolerance, std::vector< bool > &allowGapJumping, std::vector< double > &gapJumpingTolerance) |
Returns the seed start vertices and edges which define the path. More... | |
void | RemoveSeedEdge (NXOpen::CAE::FEElemEdge *seedElemEdge) |
Remove seed (start vertex and edge) from the path. More... | |
Public Member Functions inherited from NXOpen::SelectionMethod | |
std::vector < NXOpen::TaggedObject * > | GetSelectedObjects () |
Returns the objects selected by this NXOpen::SelectionMethod . More... | |
virtual | ~SelectionMethod () |
Frees the object from memory. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
Represents a NXOpen::CAE::ElemEdgePathMethod .
The edge path selection builder is used by other builders to define a start point (NXOpen::CAE::FENode ) and a path defined by connected CAE edges (NXOpen::CAE::FEElemEdge ). The path is defined by adding seed edges which are each defined by a start point (NXOpen::CAE::FENode ) and a an edge (NXOpen::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 NXOpen::CAE::ElemEdgePathMethod::FlipPath will flip the direction of the path definition, such that subsequent calls to NXOpen::CAE::ElemEdgePathMethod::GetSeedEdges or NXOpen::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::AddSeedEdge | ( | NXOpen::CAE::FENode * | seedStartNode, |
NXOpen::CAE::FEElemEdge * | seedElemEdge, | ||
bool | preferFreeEdges, | ||
bool | preferGeometryAssociatedEdges, | ||
bool | preferFeatureElementEdge, | ||
double | featureAngleTolerance, | ||
bool | allowGapJumping, | ||
double | gapJumpingTolerance | ||
) |
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 NX10.0.0.
License requirements : None
seedStartNode | seed node |
seedElemEdge | seed element edge |
preferFreeEdges | if true, prefer free element edges |
preferGeometryAssociatedEdges | if true, prefer geometry associated element edges |
preferFeatureElementEdge | if true, prefer feature element edges |
featureAngleTolerance | if preferFeatureElementEdge is true, this is the feature angle tolerance to use |
allowGapJumping | if true, gaps between element edges will be jumped |
gapJumpingTolerance | gapjumpingtolerance |
void NXOpen::CAE::ElemEdgePathMethod::FlipPath | ( | ) |
Flip the path start and end.
This changes the definition of the path such that subsequent calls to NXOpen::CAE::ElemEdgePathMethod::GetSeedEdges or NXOpen::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::GetSeeds | ( | std::vector< NXOpen::CAE::FENode * > & | seedStartNodes, |
std::vector< NXOpen::CAE::FEElemEdge * > & | seedElemEdges, | ||
std::vector< bool > & | preferFreeEdges, | ||
std::vector< bool > & | preferGeometryAssociatedEdges, | ||
std::vector< bool > & | preferFeatureElementEdge, | ||
std::vector< double > & | featureAngleTolerance, | ||
std::vector< bool > & | allowGapJumping, | ||
std::vector< double > & | gapJumpingTolerance | ||
) |
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. Each seed also specifies the options used by the path algorithm for that segment of the path.
Created in NX10.0.0.
License requirements : None
seedStartNodes | seed start vertices |
seedElemEdges | seed element edges |
preferFreeEdges | if true, prefer free element edges |
preferGeometryAssociatedEdges | if true, prefer geometry associated element edges |
preferFeatureElementEdge | if true, prefer feature element edges |
featureAngleTolerance | if preferFeatureElementEdge is true, this is the feature angle tolerance to use |
allowGapJumping | if true, gaps between element edges will be jumped |
gapJumpingTolerance | if allowGapJumping is true, this is the tolerance to use for jumping gaps between 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 |