MySQL 8.0.39
Source Code Documentation
|
A Cartesian 2d point. More...
#include <geometries_cs.h>
Public Member Functions | |
Cartesian_point ()=default | |
Cartesian_point (double x, double y) | |
Coordinate_system | coordinate_system () const override |
Gets the coordinate system. More... | |
Cartesian_point * | clone () const override |
Public Member Functions inherited from gis::Point | |
Point () | |
Point (double x, double y) | |
Geometry_type | type () const override |
Gets the geometry type of the object. More... | |
bool | accept (Geometry_visitor *v) override |
Applies a hierarchical visitor to this geometry. More... | |
bool | is_empty () const override |
Check if this is an empty geometry. More... | |
template<std::size_t K> | |
double | get () const |
Gets a coordinate value. More... | |
double | x () const |
Gets the first coordinate value. More... | |
double | y () const |
Gets the second coordinate value. More... | |
template<std::size_t K> | |
void | set (double d) |
Sets a coordinate. More... | |
void | x (double d) |
Sets the first coordinate value. More... | |
void | y (double d) |
Sets the second coordinate value. More... | |
template<> | |
double | get () const |
template<> | |
double | get () const |
template<> | |
void | set (double d) |
template<> | |
void | set (double d) |
Public Member Functions inherited from gis::Geometry | |
Geometry ()=default | |
virtual | ~Geometry ()=default |
Geometry (const Geometry &)=default | |
Geometry & | operator= (const Geometry &)=default |
A Cartesian 2d point.
|
default |
|
inline |
|
inlineoverridevirtual |
Implements gis::Point.
|
inlineoverridevirtual |