FIFE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
point.h File Reference
#include <iostream>
#include <cassert>
#include "util/base/fife_stdint.h"
#include "util/math/fife_math.h"
+ Include dependency graph for point.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FIFE::PointType2D< T >
 A 2D Point. More...
 
class  FIFE::PointType3D< T >
 A 3D Point. More...
 

Namespaces

 FIFE
 All FIFE related code is in this namespace.
 

Typedefs

typedef PointType2D< int32_t > FIFE::Point
 
typedef PointType2D< double > FIFE::DoublePoint
 
typedef PointType3D< int32_t > FIFE::Point3D
 
typedef PointType3D< double > FIFE::DoublePoint3D
 

Functions

template<typename T >
std::ostream & FIFE::operator<< (std::ostream &os, const PointType2D< T > &p)
 Print coords of the Point to a stream. More...
 
template<typename T >
std::ostream & FIFE::operator<< (std::ostream &os, const PointType3D< T > &p)
 Print coords of the Point to a stream. More...
 
Point FIFE::doublePt2intPt (DoublePoint pt)
 Convert from 2D double point to 2D int32_t point. More...
 
Point3D FIFE::doublePt2intPt (DoublePoint3D pt)
 Convert from 3D double point to 3D int32_t point. More...
 
DoublePoint FIFE::intPt2doublePt (Point pt)
 Convert from 2D int32_t point to 2D double point. More...
 
DoublePoint3D FIFE::intPt2doublePt (Point3D pt)
 Convert from 3D int32_t point to 3D double point. More...