Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDb2dPolyline::insertVertexAt Method (const OdDb2dVertex*, OdDb2dVertex*)
Syntax
C++
OdDbObjectId insertVertexAt(const OdDb2dVertex* pIndexVert, OdDb2dVertex* pVertex);

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

Parameters
Description
pIndexVert
[in] Pointer to 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.