#include <geometry_primitives.h>
Public Types | |
enum | Location : char { Location::Bot = 0, Location::Left = 1, Location::Top = 2, Location::Right = 3 } |
Public Member Functions | |
Intersection (Location loc, double x, double y) | |
bool | is_horiz () const |
Public Member Functions inherited from Point2D | |
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 | |
Location | location |
Public Attributes inherited from Point2D | |
double | x |
double | y |
Definition at line 98 of file geometry_primitives.h.
|
strong |
Enumerator | |
---|---|
Bot | |
Left | |
Top | |
Right |
Definition at line 99 of file geometry_primitives.h.
|
inline |
Definition at line 103 of file geometry_primitives.h.
|
inline |
Definition at line 106 of file geometry_primitives.h.
Location Intersection::location |
Definition at line 110 of file geometry_primitives.h.