API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::addVertexAt Method
Contour2D::addVertexAt Method
Syntax
C++
Result addVertexAt(OdUInt32 iIndex, const OdGePoint2d& ptStart, double dBulge = 0.0, OdIntPtr uMetadata = 0, OdUInt32 uRawFlags = 0);
Parameters 
Description 
OdUInt32 iIndex 
[in] Vertex index to append.  
const OdGePoint2d& ptStart 
[in] Vertex point to append.  
double dBulge = 0.0 
[in] (Optional) Arc segment bulge. Default value is 0.0.  
OdIntPtr uMetadata = 0 
[in] (Optional) Metadata to set. Default value is 0.  
OdUInt32 uRawFlags = 0 
[in] (Optional) Raw flags to set. Default value is 0.  

eOk if the vertex appended successfully, or a corresponding error type otherwise.

Adds a vertex at the specified index. 

 

The index must be less than or equal to the number of vertices in the contour.

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