
Definition in file Point2D.H.
#include "Image/Dims.H"
#include "Util/Promotions.H"
#include "Util/log.H"
#include <cmath>
#include <string>
#include <vector>
Include dependency graph for Point2D.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Point2D< T > |
| This is a basic class to encode 2D integer coordinates. More... | |
Functions | |
| template<class T, class U> | |
| bool | operator== (const Point2D< T > &p1, const Point2D< U > &p2) |
| == operator | |
| template<class T, class U> | |
| bool | operator!= (const Point2D< T > &p1, const Point2D< U > &p2) |
| != operator | |
| template<class T, class U> | |
| bool | operator> (const Point2D< T > &p1, const Point2D< U > &p2) |
| > operator | |
| template<class T, class U> | |
| bool | operator< (const Point2D< T > &p1, const Point2D< U > &p2) |
| < operator | |
| 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>". | |
| bool | pnpoly (const std::vector< Point2D< int > > &polygon, const Point2D< int > &p) |
| Is a point inside a polygon? | |
|
||||||||||||||||
|
Point2D<T> overload: format is "<i>,<j>".
Definition at line 60 of file Point2D.C. References Point2D< T >::i, Point2D< T >::j, and split(). |
|
||||||||||
|
Point2D<T> overload: format is "<i>,<j>".
Definition at line 54 of file Point2D.C. References convertToString(), Point2D< T >::i, and Point2D< T >::j. |
|
||||||||||||||||
|
!= operator
Definition at line 296 of file Point2D.H. References Point2D< T >::i, and Point2D< T >::j. |
|
||||||||||||||||
|
< operator
Definition at line 306 of file Point2D.H. Referenced by rutz::fstring::operator<(). |
|
||||||||||||||||
|
== operator
Definition at line 291 of file Point2D.H. References Point2D< T >::i, and Point2D< T >::j. |
|
||||||||||||||||
|
> operator
Definition at line 301 of file Point2D.H. References Point2D< T >::i, and Point2D< T >::j. Referenced by rutz::fstring::operator>(). |
|
||||||||||||
|
Is a point inside a polygon?
Definition at line 344 of file Point2D.H. References c, Point2D< T >::i, i, and Point2D< T >::j. Referenced by drawFilledPolygon(), TestImages::getAllObjMask(), TestImages::getObjFromPos(), SimulationViewerRecStats::getObjNameAtLoc(), and InferoTemporalSalBayes::getObjNameAtLoc(). |
1.4.4