FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
point.h File Reference
#include <iostream>
#include <cassert>
#include <vector>
#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
 

Typedefs

typedef PointType2D< int32_t > FIFE::Point
 
typedef PointType2D< double > FIFE::DoublePoint
 
typedef std::vector< Point > FIFE::PointVector
 
typedef std::vector< DoublePoint > FIFE::DoublePointVector
 
typedef PointType3D< int32_t > FIFE::Point3D
 
typedef PointType3D< double > FIFE::DoublePoint3D
 
typedef std::vector< Point3D > FIFE::Point3DVector
 
typedef std::vector< DoublePoint3D > FIFE::DoublePoint3DVector
 

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...