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

Returns the index of the parent PolyFaceMesh vertex that defines the specified corner (DXF 71-74) of this FaceRecord entity. 

 

Vertex indices start at 1. 

Negative indices indicate the following edge is invisible. 

A zero value for cornerIndex == 3 indicates a triangular face.

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