PolygonBuilder
Overview
PolygonBuilder is a class in Aspose.3D FOSS for Python.
The PolygonBuilder class lets you construct polygon vertex indices by calling begin(), add_vertex(index) for each vertex, and end() to finalize the polygon.
This class declares 4 methods for PolygonBuilder objects in Python programs.
Available methods include: __init__, add_vertex, begin, end.
All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__(mesh: 'Mesh') | Calls init(mesh) on this PolygonBuilder instance. |
begin() | Calls begin on this PolygonBuilder instance. |
add_vertex(index: int) | Calls add_vertex(index) on this PolygonBuilder instance. |
end() | Calls end on this PolygonBuilder instance. |