CL_PointSetMath Class Reference
[clanCore Math]

Math operations related to point sets. More...

#include <pointset_math.h>

List of all members.

Implementation

class CL_OutlineMath

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_Pointfconvex_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)


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:
std::vector<CL_Pointf> P 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.

Parameters:
std::vector<CL_Pointf> &points the 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:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6