Package toxi.geom

Interface PolygonTesselator

All Known Implementing Classes:
GlobalGridTesselator, GridTesselator, LocalGridTesselator

public interface PolygonTesselator
  • Method Summary

    Modifier and Type
    Method
    Description
    Tesselates the given polygon into a set of triangles.
  • Method Details

    • tesselatePolygon

      List<Triangle2D> tesselatePolygon(Polygon2D poly)
      Tesselates the given polygon into a set of triangles.
      Parameters:
      poly - polygon
      Returns:
      list of triangles