C++
virtual Adesk::Boolean polygon( const Adesk::UInt32 nbPoints, const AcGePoint3d* pVertexList ) const = 0;
Description
Draws a filled or unfilled polygon, depending on AcGiSubEntityTraits::fillType(). An edge between the last vertex and the first vertex is automatically created in order to generate a closed polygon.
The caller is responsible for the memory used by the pVertexList array.
Parameters
Parameters | Description |
---|---|
nbPoints | Input number of vertex points in polyline (minimum of two) |
pVertexList | Input array of vertex points (must be nbPoints in array) |
Returns
Adesk::kFalse, (that is, 0) indicating that the primitive has been successfully stored in the graphics database; Adesk::kTrue indicating that the operation has been terminated and the application wants to get control back as soon as possible.