#include <types.h>
Public Member Functions | |
| Point2 (double _x, double _y) | |
| Point2 | operator+ (const Point2 other) const |
| Point2 | operator- (const Point2 other) const |
| Point2 | operator* (const double f) const |
| double | norm () const |
| double | squaredNorm () const |
| template<class Archive > | |
| void | serialize (Archive &ar) |
Public Attributes | |
| double | x = 0.0 |
| double | y = 0.0 |
Friends | |
| Point2 | operator* (const double f, const Point2 p) |
Class defining a two-dimensional point. E.g. an observed pixel position.