Detailed Description
Functions that returns the convex hull of a point list.
Function Documentation
| TL_DLL void removeDuplicatedCoords |
( |
vector< TeCoord2D > & |
coordSet | ) |
|
If we have the two end point equals, so we remove it.
Returns the convexhull of a given list of coords in counterclockwise.
- Parameters:
-
| coordSet | A list with coordinates without duplicated coordinates. |
- Note:
- This algorithm is based on the book Computational Geometry by M. de Berg, M. van Kreveld, M. Overmars and O. Schwarzkopf - Springer Verlag - pp. 6. It is O(N log N).
This is a explicit specialization that returns the convex hull of a TePointSet. Must be defined!
This is a explicit specialization that returns the convex hull of a TePolygonSet.
This is a explicit specialization that returns the convex hull of a TePolygon.
This is a explicit specialization that returns the convex hull of a TeCoord2D set.