#include <outline_triangulator.h>
Public Member Functions | |
Construction | |
| CL_OutlineTriangulator () | |
| Creates a tessellation object. | |
| virtual | ~CL_OutlineTriangulator () |
Operations | |
| void | add_vertex (float x, float y, void *data) |
| This function specifies a vertex on a polygon. | |
| void | next_contour () |
| Mark next contour in polygon path. | |
| void | next_polygon () |
| Mark next polygon. | |
| void | generate () |
| Converts passed polygons into triangles. | |
This class uses constrained delauney triangulation to convert polygon outlines into triangles.
|
|
Creates a tessellation object.
|
|
|
|
|
||||||||||||||||
|
This function specifies a vertex on a polygon.
|
|
|
Converts passed polygons into triangles.
|
|
|
Mark next contour in polygon path.
|
|
|
Mark next polygon.
|
1.4.6