API Reference > OdDb Classes > OdDb3dPolyline Class > OdDb3dPolyline Methods > OdDb3dPolyline::appendVertex Method
OdDb3dPolyline::appendVertex Method
Syntax
C++
OdDbObjectId appendVertex(OdDb3dPolylineVertex* pVertex);
Parameters 
Description 
OdDb3dPolylineVertex* pVertex 
[in] Pointer to the Vertex entity to be appended. 

Returns the Object ID of the appended vertex. 

If this Polyline entity is database resident, the Vertex entity will be made database resident. 

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

Appends the specified Vertex entity to this Polyline entity, and makes this Polyline entity its owner.

If this Polyline is database resident, the Vertex entity must explicitly be closed when appendVertex() returns. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.