API Reference > OdDb Classes > OdDbPolyline Class > OdDbPolyline Methods > OdDbPolyline::reset Method
OdDbPolyline::reset Method
Syntax
C++
void reset(bool reuse, unsigned int numVerts);
Parameters 
Description 
bool reuse 
[in] True to retain vertices.  
unsigned int numVerts 
[in] Number of vertices to retain. 

Resets the vertex data for this Polyline entity. 

 

If reuse is true, the vertex list will be expanded or truncated such that exactly numVerts vertices exist. 

If reuse is false, all vertices will be deleted.

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