![]() |
MySQL 9.4.0
Source Code Documentation
|
A Geographic 2d box. More...
#include <box.h>
Public Member Functions | |
| Geographic_box ()=default | |
| Geographic_box (Geographic_point &&min_corner, Geographic_point &&max_corner) | |
| Coordinate_system | coordinate_system () const override |
| Gets the coordinate system. More... | |
| Geographic_point const & | min_corner () const override |
| Returns the minimum corner. More... | |
| Geographic_point & | min_corner () override |
| Geographic_point const & | max_corner () const override |
| Returns the maximum corner. More... | |
| Geographic_point & | max_corner () override |
Public Member Functions inherited from gis::Box | |
| Box ()=default | |
| Box (const Box &)=default | |
| Box (Box &&)=default | |
| Box & | operator= (const Box &)=default |
| Box & | operator= (Box &&)=default |
| virtual | ~Box ()=default |
Private Attributes | |
| Geographic_point | m_min_corner |
| The corner with minimum X and Y values. More... | |
| Geographic_point | m_max_corner |
| The corner with maximum X and Y values. More... | |
A Geographic 2d box.
Unlike polygons, the sides of the box are not the shortest distance between the endpoints. A box side will follow the latitude line, while a linestring (or polygon segment) between the same points won't.
|
default |
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements gis::Box.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements gis::Box.
|
private |
The corner with maximum X and Y values.
|
private |
The corner with minimum X and Y values.