API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::createVertexAt Method
Contour2D::createVertexAt Method
Syntax
C++
OdUInt32 createVertexAt(double dParam, const OdGeTol& gTol = FMGeGbl::gTol);
Parameters 
Description 
double dParam 
[in] Parameter to create a vertex.  
const OdGeTol& gTol = FMGeGbl::gTol 
[in] Tolerance.  

Index of created (or found) vertex.

Adds a vertex to the contour at the specified parameter value. 

 

If a vertex at the specified parameter exists, the method does nothing. 

Insertion or removal of a vertex at dParam invalidates all parameters greater than floor(dParam).

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