#include <floatcoord.h>
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 |
typedef double LibGeoDecomp::FloatCoord< 3 >::ValueType |
LibGeoDecomp::FloatCoord< 3 >::FloatCoord | ( | const double | x = 0 , |
|
const double | y = 0 , |
|||
const double | z = 0 | |||
) | [inline, explicit] |
LibGeoDecomp::FloatCoord< 3 >::FloatCoord | ( | const OTHER_COORD< 3 > & | p | ) | [inline] |
LibGeoDecomp::FloatCoord< 3 >::FloatCoord | ( | max | ) | const [inline] |
LibGeoDecomp::FloatCoord< 3 >::FloatCoord | ( | min | ) | const [inline] |
static FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::diagonal | ( | const double & | x | ) | [inline, static] |
bool LibGeoDecomp::FloatCoord< 3 >::dominates | ( | const OTHER_COORD< 3 > & | other | ) | const [inline] |
double LibGeoDecomp::FloatCoord< 3 >::length | ( | ) | const [inline] |
bool LibGeoDecomp::FloatCoord< 3 >::operator!= | ( | const OTHER_COORD< 3 > & | a | ) | const [inline] |
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] |
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator+ | ( | const OTHER_COORD< 3 > & | a | ) | const [inline] |
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator+= | ( | const OTHER_COORD< 3 > & | a | ) | [inline] |
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator- | ( | const OTHER_COORD< 3 > & | a | ) | const [inline] |
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator-= | ( | const OTHER_COORD< 3 > & | a | ) | [inline] |
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator/ | ( | const double & | s | ) | const [inline] |
FloatCoord<3> LibGeoDecomp::FloatCoord< 3 >::operator/ | ( | const OTHER_COORD< 3 > & | a | ) | const [inline] |
FloatCoord<3>& LibGeoDecomp::FloatCoord< 3 >::operator/= | ( | const double | s | ) | [inline] |
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] |
FloatCoord LibGeoDecomp::FloatCoord< 3 >::scale | ( | const OTHER_COORD< 3 > & | other | ) | [inline] |
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] |
Referenced by LibGeoDecomp::operator<<().
friend class Serialization [friend] |
friend class Typemaps [friend] |
double LibGeoDecomp::FloatCoord< 3 >::c[3] |