Package toxi.geom
Interface PolygonTesselator
- All Known Implementing Classes:
GlobalGridTesselator
,GridTesselator
,LocalGridTesselator
public interface PolygonTesselator
-
Method Summary
Modifier and TypeMethodDescriptiontesselatePolygon
(Polygon2D poly) Tesselates the given polygon into a set of triangles.
-
Method Details
-
tesselatePolygon
Tesselates the given polygon into a set of triangles.- Parameters:
poly
- polygon- Returns:
- list of triangles
-