CL_OutlineMath Class Reference
[clanDisplay Collision]

Math operations on outlines. More...

#include <outline_math.h>

List of all members.

Operations



static CL_OutlineCircle minimum_enclosing_disc (const std::vector< CL_Pointf > &points)
 Find minimum spanning circle for the set of points.
static void minimum_enclosing_disc (CL_OutlineCircle &smalldisc, const std::vector< CL_Pointf > &points)
static void minimum_enclosing_sub_circle (CL_OutlineCircle &smalldisc, const std::vector< CL_Pointf > &points, float maxradius)

Detailed Description

Math operations on outlines.

This class provides general methods for calulating things on outlines.


Member Function Documentation

static CL_OutlineCircle CL_OutlineMath::minimum_enclosing_disc ( const std::vector< CL_Pointf > &  points  )  [static]

Find minimum spanning circle for the set of points.

Parameters:
points the points to calulate on
static void CL_OutlineMath::minimum_enclosing_disc ( CL_OutlineCircle smalldisc,
const std::vector< CL_Pointf > &  points 
) [static]
static void CL_OutlineMath::minimum_enclosing_sub_circle ( CL_OutlineCircle smalldisc,
const std::vector< CL_Pointf > &  points,
float  maxradius 
) [static]

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