Point2D.C File Reference

#include "Image/Point2D.H"
#include "Util/StringConversions.H"
#include "Util/StringUtil.H"
#include "Util/Types.H"
#include "Util/log.H"
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for Point2D.C:

Go to the source code of this file.

Functions

template<class T >
std::string convertToString (const Point2D< T > &val)
 Point2D<T> overload: format is "<i>,<j>".
template<class T >
void convertFromString (const std::string &str, Point2D< T > &val)
 Point2D<T> overload: format is "<i>,<j>".
template std::string convertToString (const Point2D< int > &)
template void convertFromString (const std::string &, Point2D< int > &)
template std::string convertToString (const Point2D< float > &)
template void convertFromString (const std::string &, Point2D< float > &)
template std::string convertToString (const Point2D< double > &)
template void convertFromString (const std::string &, Point2D< double > &)

Detailed Description

A basic 2D point class

Definition in file Point2D.C.


Function Documentation

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

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

Definition at line 60 of file Point2D.C.

References Point2D< T >::i, conversion_error::raise(), and split().

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

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

Definition at line 54 of file Point2D.C.

References Point2D< T >::i.

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