CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdBrMesh2dElement2dTraverser Class Reference

#include <BrMesh2dElement2dTraverser.h>

Inheritance diagram for OdBrMesh2dElement2dTraverser:
OdBrTraverser

Public Member Functions

 OdBrMesh2dElement2dTraverser ()
 
 ~OdBrMesh2dElement2dTraverser ()
 
OdBrErrorStatus setMeshAndElement (const OdBrElement2d &element2d)
 
OdBrErrorStatus setMesh (const OdBrMesh2d &mesh2d)
 
OdBrErrorStatus getMesh (OdBrMesh2d &mesh2d) const
 
OdBrErrorStatus setElement (const OdBrElement2d &element2d)
 
OdBrErrorStatus getElement (OdBrElement2d &element2d) 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< OdDbStubPtrArraym_pFSubentPath
 
bool m_bIsValidate
 

Detailed Description

This interface class represents mesh element traversers.

Remarks
This class is implemented only for Spatial modeler.
See also
TD_Br

<group OdBr_Classes>

Definition at line 42 of file BrMesh2dElement2dTraverser.h.

Constructor & Destructor Documentation

◆ OdBrMesh2dElement2dTraverser()

OdBrMesh2dElement2dTraverser::OdBrMesh2dElement2dTraverser ( )

Default constructor.

◆ ~OdBrMesh2dElement2dTraverser()

OdBrMesh2dElement2dTraverser::~OdBrMesh2dElement2dTraverser ( )

Destructor.

Member Function Documentation

◆ getElement()

OdBrErrorStatus OdBrMesh2dElement2dTraverser::getElement ( OdBrElement2d element2d) const

Returns the current element in the mesh element list.

Parameters
element2d[in/out] Reference to an element object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getMesh()

OdBrErrorStatus OdBrMesh2dElement2dTraverser::getMesh ( OdBrMesh2d mesh2d) const

Returns the owner of the mesh element list.

Parameters
mesh2d[in/out] Reference to a mesh object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setElement()

OdBrErrorStatus OdBrMesh2dElement2dTraverser::setElement ( const OdBrElement2d element2d)

Sets the starting position of this traverser to a specific element in the mesh element list.

Parameters
element2d[in] Reference to an element object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setMesh()

OdBrErrorStatus OdBrMesh2dElement2dTraverser::setMesh ( const OdBrMesh2d mesh2d)

Sets this traverser to a specific mesh element list, starting with the first list's element.

Parameters
mesh2d[in] Reference to a mesh object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ setMeshAndElement()

OdBrErrorStatus OdBrMesh2dElement2dTraverser::setMeshAndElement ( const OdBrElement2d element2d)

Sets this traverser to a specific mesh element list and start position.

Parameters
element2d[in] Reference to a 2D element object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

The documentation for this class was generated from the following file: