API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > appendVertex Method > Contour2D::appendVertex Method (OdGePoint2d&, OdGePoint2d&, OdIntPtr, OdUInt32)
Contour2D::appendVertex Method (OdGePoint2d&, OdGePoint2d&, OdIntPtr, OdUInt32)
Syntax
C++
Result appendVertex(const OdGePoint2d& ptStart, const OdGePoint2d& ptMid, OdIntPtr uMetadata = 0, OdUInt32 uRawFlags = 0);
Parameters 
Description 
const OdGePoint2d& ptStart 
[in] Vertex point to append.  
const OdGePoint2d& ptMid 
[in] Middle point of bulge to calculate.  
OdIntPtr uMetadata = 0 
[in] Metadata pointer to set.  
OdUInt32 uRawFlags = 0 
[in] Raw flags to set.  

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

Appends a new vertex to the end of the contour. 

 

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