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

LibGeoDecomp::FloatCoord< 3 > Class Template Reference

#include <floatcoord.h>

Collaboration diagram for LibGeoDecomp::FloatCoord< 3 >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef double ValueType

Public Member Functions

 FloatCoord (const double x=0, const double y=0, const double z=0)
template<template< int > class OTHER_COORD>
 FloatCoord (const OTHER_COORD< 3 > &p)
double length () const
template<template< int > class OTHER_COORD>
bool dominates (const OTHER_COORD< 3 > &other) const
template<template< int > class OTHER_COORD>
bool strictlyDominates (const OTHER_COORD< 3 > &other) const
template<template< int > class OTHER_COORD>
FloatCoord< 3 > operator+ (const OTHER_COORD< 3 > &a) const
template<template< int > class OTHER_COORD>
FloatCoord< 3 > operator- (const OTHER_COORD< 3 > &a) const
template<template< int > class OTHER_COORD>
FloatCoord< 3 > & operator+= (const OTHER_COORD< 3 > &a)
template<template< int > class OTHER_COORD>
FloatCoord< 3 > & operator-= (const OTHER_COORD< 3 > &a)
FloatCoord< 3 > & operator/= (const double s)
FloatCoord< 3 > operator/ (const double &s) const
template<template< int > class OTHER_COORD>
FloatCoord< 3 > operator/ (const OTHER_COORD< 3 > &a) const
template<template< int > class OTHER_COORD>
double operator* (const OTHER_COORD< 3 > &a) const
FloatCoord< 3 > operator* (const double s) const
FloatCoord< 3 > & operator*= (const double s)
template<template< int > class OTHER_COORD>
bool operator== (const OTHER_COORD< 3 > &a) const
template<template< int > class OTHER_COORD>
bool operator!= (const OTHER_COORD< 3 > &a) const
double & operator[] (const int i)
const double & operator[] (const int i) const
template<template< int > class OTHER_COORD>
FloatCoord scale (const OTHER_COORD< 3 > &other)
double prod () const
double sum () const
 FloatCoord (max)(const FloatCoord< 3 > &other) const
 FloatCoord (min)(const FloatCoord< 3 > &other) const
std::string toString () const

Static Public Member Functions

static FloatCoord< 3 > diagonal (const double &x)

Public Attributes

double c [3]

Friends

class Serialization
class Typemaps

template<>
class LibGeoDecomp::FloatCoord< 3 >


Member Typedef Documentation

typedef double LibGeoDecomp::FloatCoord< 3 >::ValueType

Constructor & Destructor Documentation

LibGeoDecomp::FloatCoord< 3 >::FloatCoord ( const double  x = 0,
const double  y = 0,
const double  z = 0 
) [inline, explicit]
template<template< int > class OTHER_COORD>
LibGeoDecomp::FloatCoord< 3 >::FloatCoord ( const OTHER_COORD< 3 > &  p  )  [inline]
LibGeoDecomp::FloatCoord< 3 >::FloatCoord ( max   )  const [inline]
LibGeoDecomp::FloatCoord< 3 >::FloatCoord ( min   )  const [inline]

Member Function Documentation

static FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::diagonal ( const double &  x  )  [inline, static]
template<template< int > class OTHER_COORD>
bool LibGeoDecomp::FloatCoord< 3 >::dominates ( const OTHER_COORD< 3 > &  other  )  const [inline]
double LibGeoDecomp::FloatCoord< 3 >::length (  )  const [inline]
template<template< int > class OTHER_COORD>
bool LibGeoDecomp::FloatCoord< 3 >::operator!= ( const OTHER_COORD< 3 > &  a  )  const [inline]
template<template< int > class OTHER_COORD>
double LibGeoDecomp::FloatCoord< 3 >::operator* ( const OTHER_COORD< 3 > &  a  )  const [inline]
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator* ( const double  s  )  const [inline]
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator*= ( const double  s  )  [inline]
template<template< int > class OTHER_COORD>
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator+ ( const OTHER_COORD< 3 > &  a  )  const [inline]
template<template< int > class OTHER_COORD>
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator+= ( const OTHER_COORD< 3 > &  a  )  [inline]
template<template< int > class OTHER_COORD>
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator- ( const OTHER_COORD< 3 > &  a  )  const [inline]
template<template< int > class OTHER_COORD>
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator-= ( const OTHER_COORD< 3 > &  a  )  [inline]
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator/ ( const double &  s  )  const [inline]
template<template< int > class OTHER_COORD>
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator/ ( const OTHER_COORD< 3 > &  a  )  const [inline]
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator/= ( const double  s  )  [inline]
template<template< int > class OTHER_COORD>
bool LibGeoDecomp::FloatCoord< 3 >::operator== ( const OTHER_COORD< 3 > &  a  )  const [inline]
double& LibGeoDecomp::FloatCoord< 3 >::operator[] ( const int  i  )  [inline]
const double& LibGeoDecomp::FloatCoord< 3 >::operator[] ( const int  i  )  const [inline]
double LibGeoDecomp::FloatCoord< 3 >::prod (  )  const [inline]
template<template< int > class OTHER_COORD>
FloatCoord LibGeoDecomp::FloatCoord< 3 >::scale ( const OTHER_COORD< 3 > &  other  )  [inline]
template<template< int > class OTHER_COORD>
bool LibGeoDecomp::FloatCoord< 3 >::strictlyDominates ( const OTHER_COORD< 3 > &  other  )  const [inline]
double LibGeoDecomp::FloatCoord< 3 >::sum (  )  const [inline]
std::string LibGeoDecomp::FloatCoord< 3 >::toString (  )  const [inline]

Friends And Related Function Documentation

friend class Serialization [friend]
friend class Typemaps [friend]

Member Data Documentation

double LibGeoDecomp::FloatCoord< 3 >::c[3]

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