wfmath 1.0.3
A math library for the Worldforge system.
WFMath::_miniball::Miniball< d > Class Template Reference

Public Types

typedef Wrapped_array< d > Point
 
typedef std::list< Point >::iterator It
 
typedef std::list< Point >::const_iterator Cit
 

Public Member Functions

void check_in (const Point &p)
 
void build (bool pivoting=true)
 
Point center () const
 
double squared_radius () const
 
int nr_points () const
 
Cit points_begin () const
 
Cit points_end () const
 
int nr_support_points () const
 
Cit support_points_begin () const
 
Cit support_points_end () const
 
double accuracy (double &slack) const
 
bool is_valid (double tolerance=1e-15) const
 

Detailed Description

template<int d>
class WFMath::_miniball::Miniball< d >

Definition at line 51 of file miniball.h.

Member Typedef Documentation

◆ Cit

template<int d>
typedef std::list<Point>::const_iterator WFMath::_miniball::Miniball< d >::Cit

Definition at line 56 of file miniball.h.

◆ It

template<int d>
typedef std::list<Point>::iterator WFMath::_miniball::Miniball< d >::It

Definition at line 55 of file miniball.h.

◆ Point

template<int d>
typedef Wrapped_array<d> WFMath::_miniball::Miniball< d >::Point

Definition at line 54 of file miniball.h.

Constructor & Destructor Documentation

◆ Miniball()

template<int d>
WFMath::_miniball::Miniball< d >::Miniball ( )
inline

Definition at line 74 of file miniball.h.

Member Function Documentation

◆ accuracy()

template<int d>
double WFMath::_miniball::Miniball< d >::accuracy ( double &  slack) const

Definition at line 186 of file miniball_funcs.h.

◆ build()

template<int d>
void WFMath::_miniball::Miniball< d >::build ( bool  pivoting = true)

Definition at line 54 of file miniball_funcs.h.

◆ center()

template<int d>
Miniball< d >::Point WFMath::_miniball::Miniball< d >::center

Definition at line 134 of file miniball_funcs.h.

◆ check_in()

template<int d>
void WFMath::_miniball::Miniball< d >::check_in ( const Point p)

Definition at line 47 of file miniball_funcs.h.

◆ is_valid()

template<int d>
bool WFMath::_miniball::Miniball< d >::is_valid ( double  tolerance = 1e-15) const

Definition at line 208 of file miniball_funcs.h.

◆ nr_points()

template<int d>
int WFMath::_miniball::Miniball< d >::nr_points

Definition at line 147 of file miniball_funcs.h.

◆ nr_support_points()

template<int d>
int WFMath::_miniball::Miniball< d >::nr_support_points

Definition at line 166 of file miniball_funcs.h.

◆ points_begin()

template<int d>
Miniball< d >::Cit WFMath::_miniball::Miniball< d >::points_begin

Definition at line 153 of file miniball_funcs.h.

◆ points_end()

template<int d>
Miniball< d >::Cit WFMath::_miniball::Miniball< d >::points_end

Definition at line 159 of file miniball_funcs.h.

◆ squared_radius()

template<int d>
double WFMath::_miniball::Miniball< d >::squared_radius

Definition at line 140 of file miniball_funcs.h.

◆ support_points_begin()

template<int d>
Miniball< d >::Cit WFMath::_miniball::Miniball< d >::support_points_begin

Definition at line 172 of file miniball_funcs.h.

◆ support_points_end()

template<int d>
Miniball< d >::Cit WFMath::_miniball::Miniball< d >::support_points_end

Definition at line 178 of file miniball_funcs.h.


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