CFx SDK Documentation
2023 SP0
|
#include <BrElement2dNodeTraverser.h>
Public Member Functions | |
OdBrElement2dNodeTraverser () | |
~OdBrElement2dNodeTraverser () | |
OdBrErrorStatus | setElement (const OdBrMesh2dElement2dTraverser &mesh2dElement2dTraverser) |
OdBrErrorStatus | setElement (const OdBrElement2d &element) |
OdBrErrorStatus | getElement (OdBrElement2d &element) const |
OdBrErrorStatus | setNode (const OdBrNode &node) |
OdBrErrorStatus | getNode (OdBrNode &node) const |
OdBrErrorStatus | getSurfaceNormal (OdGeVector3d &vector) const |
OdBrErrorStatus | getParamPoint (OdGePoint2d &point) const |
Public Member Functions inherited from OdBrTraverser | |
bool | done () const |
OdBrErrorStatus | next () |
OdBrErrorStatus | restart () |
virtual | ~OdBrTraverser () |
bool | isEqualTo (const OdBrTraverser *pOtherTraverser) const |
bool | isNull () const |
OdBrErrorStatus | setValidationLevel (const BrValidationLevel &level= *(BrValidationLevel *) NULL) |
OdBrErrorStatus | getValidationLevel (BrValidationLevel &level) const |
Additional Inherited Members | |
Protected Member Functions inherited from OdBrTraverser | |
OdBrTraverser () | |
OdBrTraverser (const OdBrTraverser &source) | |
Protected Attributes inherited from OdBrTraverser | |
OdRxObjectPtr | m_pImp |
OdSharedPtr< OdDbStubPtrArray > | m_pFSubentPath |
bool | m_bIsValidate |
This interface class represents element node traversers. It is used to access node data, such as surface normals and pairs of uv parameters.
<group OdBr_Classes>
Definition at line 44 of file BrElement2dNodeTraverser.h.
OdBrElement2dNodeTraverser::OdBrElement2dNodeTraverser | ( | ) |
Default constructor.
OdBrElement2dNodeTraverser::~OdBrElement2dNodeTraverser | ( | ) |
Destructor.
OdBrErrorStatus OdBrElement2dNodeTraverser::getElement | ( | OdBrElement2d & | element | ) | const |
Returns the element that owns the element node list.
element | [out] Defines the 2D element object, passed by reference. |
OdBrErrorStatus OdBrElement2dNodeTraverser::getNode | ( | OdBrNode & | node | ) | const |
Returns the node at the current position in the element node list.
node | [out] Node at the current position. |
OdBrErrorStatus OdBrElement2dNodeTraverser::getParamPoint | ( | OdGePoint2d & | point | ) | const |
Returns the 2D element node's underlying parameter point.
point | [out] Parameter point. |
OdBrErrorStatus OdBrElement2dNodeTraverser::getSurfaceNormal | ( | OdGeVector3d & | vector | ) | const |
Returns the normal vector computed on the original surface at the current node.
vector | [out] Normal vector at the current node. |
OdBrErrorStatus OdBrElement2dNodeTraverser::setElement | ( | const OdBrElement2d & | element | ) |
Sets the specific element node list to this traverser.
element | [in] Defines the 2D element with a topological adjacent list of nodes, starting at the first node in the list. |
OdBrErrorStatus OdBrElement2dNodeTraverser::setElement | ( | const OdBrMesh2dElement2dTraverser & | mesh2dElement2dTraverser | ) |
Sets the specific element node list to this traverser.
mesh2dElement2dTraverser | [in] Defines the topological adjacent list of nodes owned by the 2D element at the current position in this OdBrMesh2dElement2dTraverser, starting at the first node in the list. |
OdBrErrorStatus OdBrElement2dNodeTraverser::setNode | ( | const OdBrNode & | node | ) |
Sets the starting position of this traverser to a specific node in the element node list.
node | [in] Node at which the traverser's starting position is set. |