API Reference > OdDg Classes > OdDgMesh Class
OdDgMesh Class
OdDgMeshOdDgMeshOdDgMeshOdDgMeshOdDgMeshOdDgMeshOdDgMeshOdDgMeshOdDgMesh
Syntax
C++
class OdDgMesh : public OdDgGraphicsElement;

DgMesh.h

Common interface for meshes. 

Auxiliary data (color, normals, etc) is available from here. Different styles use their specific ways to manipulate geometric data (vertices and faces). 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
styles of meshes 
 
Name 
Description 
 
 
 
define a specified data (do nothing if it exists already) 
 
This is the overview for the getAuxiliaryData method overload. 
 
the style 
 
remove a specified data (do nothing if it does not exist) 
 
Called as the first operation as this object is being closed, for database -resident objects only.
When overriding this function:
1) If the OdDgElement's state is incorrect, return something other than eOk.
2) If the parent class's subClose() returns anything other than eOk, immediately return it.
3) If other actions are required before close, do them.
4) Return eOk.
If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns false.
The default implementation of this function does nothing but return eOk. This function can be overridden in... more 
 
overrides from OdDgElement 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.