API Reference > OdDb Classes > OdDb2dPolyline Class > OdDb2dPolyline Methods > OdDb2dPolyline::appendVertex Method
OdDb2dPolyline::appendVertex Method
Syntax
C++
OdDbObjectId appendVertex(OdDb2dVertex* pVertex);
Parameters 
Description 
OdDb2dVertex* 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–2020. Open Design Alliance. All rights reserved.