CL_OutlineTriangulator - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# Class CL_OutlineTriangulator

Polygon Tesselator. More...

Derived from: none
Derived by: none
Group: Core (Math)

#include <ClanLib/core.h>

Construction:

CL_OutlineTriangulator | Creates a tessellation object.

Operations:

add_vertex | This function specifies a vertex on a polygon.
next_contour | Mark next contour in polygon path.
next_polygon | Mark next polygon.
generate | Converts passed polygons into triangles.

Detailed description:

This class uses constrained delauney triangulation to convert polygon outlines into triangles.

Questions or comments, write to the ClanLib mailing list.