|
| IntersectionPoint () |
|
constexpr | Point (coord_t _x=0, coord_t _y=0) |
|
constexpr | Point (int _x, int _y) |
|
constexpr | Point (long long _x, long long _y) |
|
| Point (double x, double y) |
|
bool | operator== (const Point &rhs) const |
|
bool | operator!= (const Point &rhs) const |
|
std::string | wkt () const |
|
std::string | dump_perl () const |
|
void | scale (double factor) |
|
void | translate (double x, double y) |
|
void | translate (const Vector &vector) |
|
void | rotate (double angle) |
|
void | rotate (double angle, const Point ¢er) |
|
Point | rotated (double angle) const |
|
Point | rotated (double angle, const Point ¢er) const |
|
bool | coincides_with (const Point &point) const |
|
bool | coincides_with_epsilon (const Point &point) const |
|
int | nearest_point_index (const Points &points) const |
|
int | nearest_point_index (const PointConstPtrs &points) const |
|
int | nearest_point_index (const PointPtrs &points) const |
|
size_t | nearest_waypoint_index (const Points &points, const Point &point) const |
|
bool | nearest_point (const Points &points, Point *point) const |
|
bool | nearest_waypoint (const Points &points, const Point &dest, Point *point) const |
|
double | distance_to (const Point &point) const |
|
double | distance_to (const Line &line) const |
|
double | perp_distance_to (const Line &line) const |
|
double | ccw (const Point &p1, const Point &p2) const |
|
double | ccw (const Line &line) const |
|
double | ccw_angle (const Point &p1, const Point &p2) const |
|
Point | projection_onto (const MultiPoint &poly) const |
|
Point | projection_onto (const Line &line) const |
|
Point | negative () const |
|
Vector | vector_to (const Point &point) const |
|
void | align_to_grid (const Point &spacing, const Point &base=Point(0, 0)) |
|