API Reference > OdBr Classes > OdBrElement2dNodeTraverser Class > OdBrElement2dNodeTraverser Methods > setElement Method > OdBrElement2dNodeTraverser::setElement Method (OdBrElement2d&)
OdBrElement2dNodeTraverser::setElement Method (OdBrElement2d&)
Syntax
C++
OdBrErrorStatus setElement(const OdBrElement2d& element);
Parameters 
Description 
const OdBrElement2d& element 
[in] Defines the 2D element with a topological adjacent list of nodes, starting at the first node in the list.
 

Returns odbrOK if successful, or an appropriate error code if not.

Sets the specific element node list to this traverser. 

 

In case of an error, the value of this traverser's element node list is unchanged.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.