NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CAE::ElemEdgePathMethod Class Reference

Represents a CAE::ElemEdgePathMethod . More...

Inheritance diagram for NXOpen::CAE::ElemEdgePathMethod:
NXOpen::SelectionMethod NXOpen::TransientObject

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.
 
- Public Member Functions inherited from NXOpen::SelectionMethod
virtual ~SelectionMethod ()
 Frees the object from memory.
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object.
 

Detailed Description

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.

Member Function Documentation

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

Parameters
seedStartNodeseed node
seedElemEdgeseed 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

Parameters
pathStartNodesresultant start vertices
pathElemEdgesresultant 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

Parameters
seedStartNodesseed start vertices
seedElemEdgesseed 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

Parameters
seedElemEdgeseed element edge

The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.