API Reference > OdDb Classes > OdDb2dPolyline Class > OdDb2dPolyline Methods > OdDb2dPolyline::openVertex Method
OdDb2dPolyline::openVertex Method
Syntax
C++
OdDb2dVertexPtr openVertex(OdDbObjectId vertId, OdDb::OpenMode mode, bool openErasedOne = false);
Parameters 
Description 
OdDbObjectId vertId 
[in] Object ID of vertex to be opened.  
OdDb::OpenMode mode 
[in] Mode in which to open the vertex.  
bool openErasedOne = false 
[in] If and only if true, erased objects will be opened. 

Returns a SmartPointer to the opened object if successful, otherwise a null SmartPointer.

Opens a vertex owned by this Polyline entity. 

 

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