uicore::PointSetMath Class Reference

Math operations related to point sets. More...

#include <pointset_math.h>

Static Public Member Functions

static Rect bounding_box (const std::vector< Pointf > &points)
 
static std::vector< Pointfconvex_hull_from_polygon (std::vector< Pointf > &points)
 Return the convex hull of the given set of points. More...
 
static Circlef minimum_enclosing_disc (const std::vector< Pointf > &points)
 Find minimum spanning circle for the set of points. More...
 

Friends

class OutlineMath
 

Detailed Description

Math operations related to point sets.

Member Function Documentation

static Rect uicore::PointSetMath::bounding_box ( const std::vector< Pointf > &  points)
static
static std::vector<Pointf> uicore::PointSetMath::convex_hull_from_polygon ( std::vector< Pointf > &  points)
static

Return the convex hull of the given set of points.

Parameters
pointsthe set of points
static Circlef uicore::PointSetMath::minimum_enclosing_disc ( const std::vector< 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 OutlineMath
friend

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