Math operations related to point sets. More...
#include <pointset_math.h>
Static Public Member Functions | |
Operations | |
static CL_Circlef | minimum_enclosing_disc (const std::vector< CL_Pointf > &points) |
Find minimum spanning circle for the set of points. | |
static std::vector< CL_Pointf > | convex_hull_from_polygon (std::vector< CL_Pointf > &points) |
Return the convex hull of the given set of points. | |
static CL_Rect | bounding_box (const std::vector< CL_Pointf > &points) |
Implementation | |
| |
class | CL_OutlineMath |
Math operations related to point sets.
static std::vector<CL_Pointf> CL_PointSetMath::convex_hull_from_polygon | ( | std::vector< CL_Pointf > & | points | ) | [static] |
Return the convex hull of the given set of points.
points | the set of points |
static CL_Circlef CL_PointSetMath::minimum_enclosing_disc | ( | const std::vector< CL_Pointf > & | points | ) | [static] |
Find minimum spanning circle for the set of points.
points | the points to calulate on |
friend class CL_OutlineMath [friend] |