#include <delauney_triangulator.h>
Public Member Functions | |
Construction | |
| CL_DelauneyTriangulator () | |
| Creates a triangulator object. | |
| virtual | ~CL_DelauneyTriangulator () |
Attributes | |
| const std::vector< CL_DelauneyTriangulator_Vertex > & | get_vertices () const |
| Returns the list of vertices in the triangulation. | |
| const std::vector< CL_DelauneyTriangulator_Triangle > & | get_triangles () const |
| Returns the resulting triangles produced from triangulation. | |
Operations | |
| void | add_vertex (float x, float y, void *data) |
| This function specifies a point to be used in the triangulation. | |
| void | generate () |
| Converts passed points into triangles. | |
This class uses the delauney triangulation algorithm to produce triangles between a list of points.
|
|
Creates a triangulator object.
|
|
|
|
|
||||||||||||||||
|
This function specifies a point to be used in the triangulation.
|
|
|
Converts passed points into triangles.
|
|
|
Returns the resulting triangles produced from triangulation.
|
|
|
Returns the list of vertices in the triangulation.
|
1.4.6