Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb3dPolyline::insertVertexAt Method (const OdDbObjectId&, OdDb3dPolylineVertex*)
Syntax
C++
OdDbObjectId insertVertexAt(const OdDbObjectId& indexVertId, OdDb3dPolylineVertex* pVertex);

Inserts the specified Vertex entity into this Polyline entity after the specified vertex, and makes this Polyline its owner.

Parameters
Description
indexVertId
[in] Object ID of vertex after which to insert the specified vertex.
pVertex
[in] Pointer to the Vertex entity to be inserted.

Returns the Object ID of the newly inserted vertex. 

The Vertex will be made database resident. 

If this Polyline entity is not database resident, the vertex will be made database resident when the polyline is made database resident. 

To insert the specified Vertex at the start of this Polyline, use a null indexVertexId.

The Vertex entity must explicitly be closed when insertertex() returns. 

 

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