![]() |
MySQL 8.0.43
Source Code Documentation
|
Point with coordinates X and Y. More...
#include <spatial.h>
Public Member Functions | |
| point_xy ()=default | |
| point_xy (double x_arg, double y_arg) | |
| double | distance (const point_xy &p) const |
| Distance to another point. More... | |
| bool | eq (point_xy p) const |
| Compare to another point. More... | |
Public Attributes | |
| double | x |
| double | y |
Point with coordinates X and Y.
|
default |
|
inline |
| double point_xy::distance | ( | const point_xy & | p | ) | const |
Distance to another point.
|
inline |
Compare to another point.
Return true if equal, false if not equal.
| double point_xy::x |
| double point_xy::y |