#include <geometry_primitives.h>
Public Member Functions | |
double | dist_sq (const Point2D &pt) const |
Point2D | operator* (double scalar) const |
Point2D | operator+ (const Point2D &p) const |
Point2D | operator- (const Point2D &p) const |
bool | operator== (const Point2D &that) const |
Point2D (double x_par=0, double y_par=0) | |
Public Attributes | |
double | x |
double | y |
Definition at line 11 of file geometry_primitives.h.
|
inline |
Definition at line 12 of file geometry_primitives.h.
|
inline |
Definition at line 14 of file geometry_primitives.h.
|
inline |
Definition at line 22 of file geometry_primitives.h.
Definition at line 23 of file geometry_primitives.h.
Definition at line 24 of file geometry_primitives.h.
|
inline |
Definition at line 18 of file geometry_primitives.h.
double Point2D::x |
Definition at line 27 of file geometry_primitives.h.
double Point2D::y |
Definition at line 27 of file geometry_primitives.h.