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

Represents a NXOpen::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. 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...
 

Detailed Description

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.

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.

Deprecated:
Deprecated in NX10.0.0. Use overloaded NXOpen::CAE::ElemEdgePathMethod::AddSeedEdge with additional arguments instead.


Created in NX9.0.0.

License requirements : None

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

Parameters
seedStartNodeseed node
seedElemEdgeseed element edge
preferFreeEdgesif true, prefer free element edges
preferGeometryAssociatedEdgesif true, prefer geometry associated element edges
preferFeatureElementEdgeif true, prefer feature element edges
featureAngleToleranceif preferFeatureElementEdge is true, this is the feature angle tolerance to use
allowGapJumpingif true, gaps between element edges will be jumped
gapJumpingTolerancegapjumpingtolerance
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

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.

Deprecated:
Deprecated in NX10.0.0. Use NXOpen::CAE::ElemEdgePathMethod::GetSeeds instead.


Created in NX9.0.0.

License requirements : None

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

Parameters
seedStartNodesseed start vertices
seedElemEdgesseed element edges
preferFreeEdgesif true, prefer free element edges
preferGeometryAssociatedEdgesif true, prefer geometry associated element edges
preferFeatureElementEdgeif true, prefer feature element edges
featureAngleToleranceif preferFeatureElementEdge is true, this is the feature angle tolerance to use
allowGapJumpingif true, gaps between element edges will be jumped
gapJumpingToleranceif 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

Parameters
seedElemEdgeseed element edge

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