Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends

LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID > Class Template Reference

#include <voronoimesher.h>

Collaboration diagram for LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Equation< COORD, ID > EquationType

Public Member Functions

 Element (const COORD &center, const COORD &quadrantSize, const COORD &simSpaceDim, const double minCellDistance, ID id)
Elementoperator<< (const EquationType &eq)
template<typename POINT >
Elementoperator<< (const POINT &c)
std::vector< COORD > generateCutPoints (const std::vector< EquationType > &equations) const
std::vector< COORD > getShape () const
bool includes (const COORD &c)
void updateGeometryData ()
const COORD & getCenter () const
const double & getArea () const
const std::vector< EquationType > & getLimits () const
const double & getDiameter () const

Static Public Attributes

static const std::size_t SAMPLES = 1000

Private Member Functions

double relativeCoordToAngle (const COORD &delta, const std::vector< COORD > &cutPoints) const
COORD cutPoint (EquationType eq1, EquationType eq2) const

Static Private Member Functions

static COORD turnLeft90 (const COORD &c)

Private Attributes

COORD center
FloatCoord< 2 > quadrantSize
FloatCoord< 2 > simSpaceDim
double minCellDistance
ID id
double area
double diameter
std::vector< EquationTypelimits

Friends

class LibGeoDecomp::VoronoiMesherTest

template<typename COORD, typename ID = int>
class LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >


Member Typedef Documentation

template<typename COORD , typename ID = int>
typedef Equation<COORD, ID> LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::EquationType

Constructor & Destructor Documentation

template<typename COORD , typename ID = int>
LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::Element ( const COORD &  center,
const COORD &  quadrantSize,
const COORD &  simSpaceDim,
const double  minCellDistance,
ID  id 
) [inline]

Member Function Documentation

template<typename COORD , typename ID = int>
COORD LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::cutPoint ( EquationType  eq1,
EquationType  eq2 
) const [inline, private]
template<typename COORD , typename ID = int>
std::vector<COORD > LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::generateCutPoints ( const std::vector< EquationType > &  equations  )  const [inline]
template<typename COORD , typename ID = int>
const double& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::getArea (  )  const [inline]
template<typename COORD , typename ID = int>
const COORD& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::getCenter (  )  const [inline]
template<typename COORD , typename ID = int>
const double& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::getDiameter (  )  const [inline]
template<typename COORD , typename ID = int>
const std::vector<EquationType>& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::getLimits (  )  const [inline]
template<typename COORD , typename ID = int>
std::vector<COORD > LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::getShape (  )  const [inline]
template<typename COORD , typename ID = int>
bool LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::includes ( const COORD &  c  )  [inline]
template<typename COORD , typename ID = int>
template<typename POINT >
Element& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::operator<< ( const POINT &  c  )  [inline]
template<typename COORD , typename ID = int>
Element& LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::operator<< ( const EquationType eq  )  [inline]
template<typename COORD , typename ID = int>
double LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::relativeCoordToAngle ( const COORD &  delta,
const std::vector< COORD > &  cutPoints 
) const [inline, private]
template<typename COORD , typename ID = int>
static COORD LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::turnLeft90 ( const COORD &  c  )  [inline, static, private]
template<typename COORD , typename ID = int>
void LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::updateGeometryData (  )  [inline]

Friends And Related Function Documentation

template<typename COORD , typename ID = int>
friend class LibGeoDecomp::VoronoiMesherTest [friend]

Member Data Documentation

template<typename COORD , typename ID = int>
double LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::area [private]
template<typename COORD , typename ID = int>
COORD LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::center [private]
template<typename COORD , typename ID = int>
double LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::diameter [private]
template<typename COORD , typename ID = int>
ID LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::id [private]
template<typename COORD , typename ID = int>
std::vector<EquationType> LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::limits [private]
template<typename COORD , typename ID = int>
double LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::minCellDistance [private]
template<typename COORD , typename ID = int>
FloatCoord<2> LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::quadrantSize [private]
template<typename COORD , typename ID = int>
const std::size_t LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::SAMPLES = 1000 [static]
template<typename COORD , typename ID = int>
FloatCoord<2> LibGeoDecomp::VoronoiMesherHelpers::Element< COORD, ID >::simSpaceDim [private]

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