ClanLib  2.3.7
List of all members
CL_PointSetMath Class Reference

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. More...
 
static std::vector< CL_Pointfconvex_hull_from_polygon (std::vector< CL_Pointf > &points)
 Return the convex hull of the given set of points. More...
 
static CL_Rect bounding_box (const std::vector< CL_Pointf > &points)
 

Implementation

class CL_OutlineMath
 

Detailed Description

Math operations related to point sets.

Member Function Documentation

static CL_Rect CL_PointSetMath::bounding_box ( const std::vector< CL_Pointf > &  points)
static
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.

Parameters
pointsthe 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.

Parameters
pointsthe points to calulate on

Friends And Related Function Documentation

friend class CL_OutlineMath
friend

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