Calculates the convex hull from a set of points. More...
Go to the source code of this file.
Functions | |
void | ConvexHull (vector< Vector2D > &result, Tessellation const &tess, int index) |
Returns the ConvexHull for a set of points. More... | |
void | ConvexHull (std::vector< std::pair< Vector2D, Vector2D > > &result, Tessellation const &tess, int index) |
Returns the ConvexHull of the edges of a cell. More... | |
void | ConvexEdges (vector< int > &result, Tessellation const &tess, int index) |
Returns the ConvexHull of the edges of a cell. More... | |
Calculates the convex hull from a set of points.
Definition in file ConvexHull.hpp.
void ConvexEdges | ( | vector< int > & | result, |
Tessellation const & | tess, | ||
int | index | ||
) |
Returns the ConvexHull of the edges of a cell.
result | The indeces of convex hull edges |
tess | The tessellation |
index | The index of the cell for which to calculate the convex hull |
Definition at line 98 of file ConvexHull.cpp.
void ConvexHull | ( | vector< Vector2D > & | result, |
Tessellation const & | tess, | ||
int | index | ||
) |
Returns the ConvexHull for a set of points.
result | The set of convex hull points |
tess | The tessellation |
index | The index of the cell for which to calculate the convex hull |
Definition at line 31 of file ConvexHull.cpp.
void ConvexHull | ( | std::vector< std::pair< Vector2D, Vector2D > > & | result, |
Tessellation const & | tess, | ||
int | index | ||
) |
Returns the ConvexHull of the edges of a cell.
result | The pairs that make up the edges of the convex hull |
tess | The tessellation |
index | The index of the cell for which to calculate the convex hull |
Definition at line 63 of file ConvexHull.cpp.