Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Point.H File Reference


Detailed Description

A basic point class

Definition in file Point.H.

#include "Util/Promotions.H"
#include "Util/log.H"
#include <cmath>
#include <string>

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  Point< T, DIMS >
 This is a basic class to encode 2D integer coordinates. More...

Functions

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


Function Documentation

template<class T, int DIMS>
void convertFromString const std::string str,
Point< T, DIMS > &  val
 

Point<T> overload: format is "<int>,<int>".

Definition at line 63 of file Point.C.

References i, Point< T, DIMS >::P, and split().

template<class T, int DIMS>
std::string convertToString const Point< T, DIMS > &  val  ) 
 

Point<T> overload: format is "<int>,<int>".

Definition at line 54 of file Point.C.

References convertToString(), i, and Point< T, DIMS >::P.

template<class T, class U, int DIMS>
bool operator!= const Point< T, DIMS > &  p1,
const Point< U, DIMS > &  p2
[inline]
 

!= operator

Definition at line 302 of file Point.H.

References i, and Point< T, DIMS >::P.

template<class T, class U, int DIMS>
bool operator== const Point< T, DIMS > &  p1,
const Point< U, DIMS > &  p2
[inline]
 

== operator

Definition at line 291 of file Point.H.

References i, and Point< T, DIMS >::P.


Generated on Sun Nov 22 13:44:32 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4