API Reference > OdDb Classes > OdDbFaceRecord Class > OdDbFaceRecord Methods > OdDbFaceRecord::setVertexAt Method
OdDbFaceRecord::setVertexAt Method
Syntax
C++
void setVertexAt(int cornerIndex, OdInt16 vertexIndex);
Parameters 
Description 
int cornerIndex 
[in] Corner index. [0 .. 3].  
OdInt16 vertexIndex 
[in] Vertex index. 

Sets the specified corner (DXF 71-74) of this FaceRecord entity to the specified index of the parent PolyFaceMesh mesh vertex. 

 

Vertex indices start at 1. 

Negative indices indicate the following edge is invisible. 

A zero value vertexIndex for cornerIndex == 3 defines a triangular face.

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