CL_DelauneyTriangulator Class Reference
[clanCore Math]

Delauney triangulator. More...

#include <delauney_triangulator.h>

List of all members.

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.


Detailed Description

Delauney triangulator.

This class uses the delauney triangulation algorithm to produce triangles between a list of points.


Constructor & Destructor Documentation

CL_DelauneyTriangulator::CL_DelauneyTriangulator  ) 
 

Creates a triangulator object.

virtual CL_DelauneyTriangulator::~CL_DelauneyTriangulator  )  [virtual]
 


Member Function Documentation

void CL_DelauneyTriangulator::add_vertex float  x,
float  y,
void *  data
 

This function specifies a point to be used in the triangulation.

void CL_DelauneyTriangulator::generate  ) 
 

Converts passed points into triangles.

const std::vector<CL_DelauneyTriangulator_Triangle>& CL_DelauneyTriangulator::get_triangles  )  const
 

Returns the resulting triangles produced from triangulation.

const std::vector<CL_DelauneyTriangulator_Vertex>& CL_DelauneyTriangulator::get_vertices  )  const
 

Returns the list of vertices in the triangulation.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:35 2009 for ClanLib by  doxygen 1.4.6