API Reference > OdDb Classes > OdDbGeoData Class > OdDbGeoData Methods > OdDbGeoData::addMeshFace Method
OdDbGeoData::addMeshFace Method
Syntax
C++
OdResult addMeshFace(OdInt32 faceIndex, OdInt32 p0, OdInt32 p1, OdInt32 p2);
Parameters 
Description 
OdInt32 faceIndex 
[in] Face index.  
OdInt32 p0 
[in] The first vertex index.  
OdInt32 p1 
[in] The second vertex index.  
OdInt32 p2 
[in] The third vertex index. 

Sets the three vertex indexes for the specified triangle face. 

 

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