API Reference > OdDb Classes > OdDbBody Class > OdDbBody Methods > OdDbBody::generateMesh Method
OdDbBody::generateMesh Method
Syntax
C++
static OdResult generateMesh(const OdDbEntity * pEnt, const OdBrMesh2dFilter & filter, OdBrMesh2d & mesh2d);
Parameters 
Description 
const OdDbEntity * pEnt 
[in] Topology object.  
const OdBrMesh2dFilter & filter 
[in] Filter for controlling the mesh generation.  
OdBrMesh2d & mesh2d 
[out] 2D mesh control object. 

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

Creates the 2D mesh control, associated with a topology object. 

 

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