Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbPolyline::addVertexAt Method
Syntax
C++
void addVertexAt(unsigned int vertexIndex, const OdGePoint2d& point2d, double bulge = 0., double startWidth = -1., double endWidth = -1., OdInt32 vertexIdentifier = 0);

Inserts a vertex into this Polyline entity at the specified index. 

 

Parameters
Description
vertexIndex
[in] Vertex index.
point2d
[in] OCS point of the vertex.
bulge
[in] Bulge value for the segment following the vertex.
startWidth
[in] Start width for the segment following the vertex.
endWidth
[in] End width for the segment following the vertex.
vertexIdentifier
[in]

The vertex is inserted before the specified vertex. If vertexIndex == numVerts(), the vertex is appended to the Polyline. 

Bulge is the tangent of 1/4 the included angle of the arc segment, measured counterclockwise.

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