#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>
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 > &) |
A basic 2D point class
Definition in file Point2D.C.
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().
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.