Point3D.h File Reference

#include <cmath>
#include <ostream>
#include <boost/tuple/tuple.hpp>
#include <boost/functional/hash.hpp>

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.

Namespaces

namespace  instantiate

Classes

class  Point3D< T >
class  Volume3DSize

Typedefs

typedef Point3D< doublePoint3Dd
typedef Point3D< floatPoint3Df
typedef Point3D< intGridPoint3D

Functions

template<typename T>
Point3D< T > operator- (const Point3D< T > &p)
template<typename T>
sqr_distance (const Point3D< T > &p1, const Point3D< T > &p2)
template<typename T>
double distance (Point3D< T > &p1, Point3D< T > &p2)
template<typename T>
ostream & operator<< (ostream &ss, const Point3D< T > &p)
template<typename T>
size_t hash_value (Point3D< double > const &p)
int instantiate::instantiate ()


Typedef Documentation

Definition at line 184 of file Point3D.h.

Definition at line 180 of file Point3D.h.

Definition at line 182 of file Point3D.h.


Function Documentation

template<typename T>
double distance ( Point3D< T > &  p1,
Point3D< T > &  p2 
) [inline]

Definition at line 159 of file Point3D.h.

template<typename T>
size_t hash_value ( Point3D< double > const &  p  )  [inline]

Definition at line 171 of file Point3D.h.

References Point3D< T >::x(), Point3D< T >::y(), and Point3D< T >::z().

Here is the call graph for this function:

template<typename T>
Point3D<T> operator- ( const Point3D< T > &  p  )  [inline]

Definition at line 146 of file Point3D.h.

template<typename T>
ostream& operator<< ( ostream &  ss,
const Point3D< T > &  p 
) [inline]

Definition at line 165 of file Point3D.h.

template<typename T>
T sqr_distance ( const Point3D< T > &  p1,
const Point3D< T > &  p2 
) [inline]

Definition at line 153 of file Point3D.h.


Generated on Wed Jul 9 16:34:45 2008 for PCSIM by  doxygen 1.5.5