Point3D.H File Reference

#include "Image/Dims.H"
#include "Image/Image.H"
#include "Util/Promotions.H"
#include "Util/log.H"
#include <cmath>
#include <string>
#include <vector>
Include dependency graph for Point3D.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Point3D< T >
 This is a basic class to encode 3D integer coordinates. More...

Functions

template<class T , class U >
bool operator== (const Point3D< T > &p1, const Point3D< U > &p2)
 == operator
template<class T , class U >
bool operator!= (const Point3D< T > &p1, const Point3D< U > &p2)
 != operator
template<class T , class U >
bool operator> (const Point3D< T > &p1, const Point3D< U > &p2)
 > operator
template<class T , class U >
bool operator< (const Point3D< T > &p1, const Point3D< U > &p2)
 < operator
template<class T >
std::string convertToString (const Point3D< T > &val)
 Point3D<T> overload: format is "<i>,<j>".
template<class T >
void convertFromString (const std::string &str, Point3D< T > &val)
 Point3D<T> overload: format is "<i>,<j>".

Detailed Description

A basic 3D point class

Definition in file Point3D.H.


Function Documentation

template<class T >
void convertFromString ( const std::string str,
Point3D< T > &  val 
) [inline]

Point3D<T> overload: format is "<i>,<j>".

Definition at line 60 of file Point3D.C.

References conversion_error::raise(), split(), and Point3D< T >::x.

template<class T >
std::string convertToString ( const Point3D< T > &  val  )  [inline]

Point3D<T> overload: format is "<i>,<j>".

Definition at line 54 of file Point3D.C.

References Point3D< T >::x.

template<class T , class U >
bool operator!= ( const Point3D< T > &  p1,
const Point3D< U > &  p2 
) [inline]

!= operator

Definition at line 301 of file Point3D.H.

References Point3D< T >::x.

template<class T , class U >
bool operator< ( const Point3D< T > &  p1,
const Point3D< U > &  p2 
) [inline]

< operator

Definition at line 311 of file Point3D.H.

template<class T , class U >
bool operator== ( const Point3D< T > &  p1,
const Point3D< U > &  p2 
) [inline]

== operator

Definition at line 296 of file Point3D.H.

References Point3D< T >::x.

template<class T , class U >
bool operator> ( const Point3D< T > &  p1,
const Point3D< U > &  p2 
) [inline]

> operator

Definition at line 306 of file Point3D.H.

References Point3D< T >::x.

Generated on Sun May 8 08:08:44 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3