API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > appendVertex Method > Contour2D::appendVertex Method (OdGePoint2d&, double, OdIntPtr, OdUInt32)
Contour2D::appendVertex Method (OdGePoint2d&, double, OdIntPtr, OdUInt32)
Syntax
C++
Result appendVertex(const OdGePoint2d& ptStart, double dBulge = 0.0, OdIntPtr uMetadata = 0, OdUInt32 uRawFlags = 0);
Parameters 
Description 
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.

Appends a new vertex to the end of the contour. 

 

The bulge value relates to the segment starting at this point.

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