Share

AcDbPolyline Constructor

Overload List

Method Description
AcDbPolyline::AcDbPolyline () Default constructor.
AcDbPolyline::AcDbPolyline (unsigned int) The AcDbPolyline dynamically allocates memory when vertices are added. However, if you know the number of vertices to be added, memory can be allocated to the exact size by specifying the number of vertices in the constructor. Specifying a non-zero value for num_verts doesn't mean that the polyline automatically has that many vertices. It means that memory has been allocated, ready to be loaded with vertex information. The memory allocated is unused until it gets filled by AcDbPolyline::addVertexAt() calls.If a polyline is being grown or shrunk by adding or removing vertices, the dynamic memory allocation will only grow and... more

Was this information helpful?