API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::setPointAt Method
Contour2D::setPointAt Method
Syntax
C++
Result setPointAt(OdUInt32 iIndex, const OdGePoint2d& ptPoint);
Parameters 
Description 
OdUInt32 iIndex 
[in] Vertex index.  
const OdGePoint2d& ptPoint 
[in] Vertex point to set.  

eOk if the point is set successfully, or a corresponding error type otherwise.

Sets a position of a vertex with the specified index. 

 

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