LetterCDT::Triangulator Class Reference

Triangulates a groups of segments, contours and holes using tirnagle library. More...

#include <Triangulator.h>

List of all members.

Public Member Functions

 Triangulator (const std::vector< Line > &segments, const std::vector< int > &contours, const std::vector< Point > &holes)
 ~Triangulator (void)
 Destructor.
const std::vector< int > & GetIndices (void) const
 Gets triangle indices.


Detailed Description

Triangulates a groups of segments, contours and holes using tirnagle library.

Constructor & Destructor Documentation

Triangulator::Triangulator ( const std::vector< Line > &  segments,
const std::vector< int > &  contours,
const std::vector< Point > &  holes 
)

Constructor

Parameters:
segments the segments of the polygon
contours the contours of the polygon
holes the holes inside of the polygon


Member Function Documentation

const std::vector< int > & Triangulator::GetIndices ( void   )  const

Gets triangle indices.

Returns:
triangles indices


The documentation for this class was generated from the following files:

Generated on Tue May 26 21:08:57 2009 for Constrained Delaunay Test by  doxygen 1.5.9