#include <geometry_discrete_primitives.h>
Public Member Functions | |
constexpr | DiscretePoint2D (int x_coord=0, int y_coord=0) |
double | dist_sq (const DiscretePoint2D &pt) const |
bool | operator!= (const DiscretePoint2D &p) const |
DiscretePoint2D | operator+ (const DiscretePoint2D &p) const |
DiscretePoint2D & | operator+= (const DiscretePoint2D &p) |
DiscretePoint2D | operator- (const DiscretePoint2D &p) const |
DiscretePoint2D | operator- () const |
bool | operator== (const DiscretePoint2D &p) const |
Public Attributes | |
int | x |
int | y |
Definition at line 10 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 14 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 43 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 35 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 23 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 17 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 27 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 39 of file geometry_discrete_primitives.h.
|
inline |
Definition at line 31 of file geometry_discrete_primitives.h.
int DiscretePoint2D::x |
Definition at line 12 of file geometry_discrete_primitives.h.
int DiscretePoint2D::y |
Definition at line 12 of file geometry_discrete_primitives.h.