1#ifndef SQL_GIS_BOX_H_INCLUDED
2#define SQL_GIS_BOX_H_INCLUDED
A 2d box with sides parallel to the coordinate system grid.
Definition: box.h:40
virtual Point const & max_corner() const =0
Returns the maximum corner.
virtual Point & min_corner()=0
Box & operator=(const Box &)=default
virtual Point const & min_corner() const =0
Returns the minimum corner.
virtual Coordinate_system coordinate_system() const =0
Gets the coordinate system.
virtual Point & max_corner()=0
Box & operator=(Box &&)=default
A Cartesian 2d box.
Definition: box.h:69
Cartesian_point const & min_corner() const override
Returns the minimum corner.
Definition: box.h:87
Cartesian_box(Cartesian_point &&min_corner, Cartesian_point &&max_corner)
Definition: box.h:78
Cartesian_point const & max_corner() const override
Returns the maximum corner.
Definition: box.h:93
Cartesian_point & min_corner() override
Definition: box.h:88
Cartesian_point m_max_corner
The corner with maximum X and Y values.
Definition: box.h:74
Coordinate_system coordinate_system() const override
Gets the coordinate system.
Definition: box.h:80
Cartesian_point & max_corner() override
Definition: box.h:94
Cartesian_point m_min_corner
The corner with minimum X and Y values.
Definition: box.h:72
A Cartesian 2d point.
Definition: geometries_cs.h:46
A Geographic 2d box.
Definition: box.h:102
Geographic_box(Geographic_point &&min_corner, Geographic_point &&max_corner)
Definition: box.h:111
Geographic_point & max_corner() override
Definition: box.h:127
Geographic_point & min_corner() override
Definition: box.h:121
Geographic_point const & max_corner() const override
Returns the maximum corner.
Definition: box.h:126
Geographic_point m_min_corner
The corner with minimum X and Y values.
Definition: box.h:105
Geographic_point const & min_corner() const override
Returns the minimum corner.
Definition: box.h:120
Coordinate_system coordinate_system() const override
Gets the coordinate system.
Definition: box.h:113
Geographic_point m_max_corner
The corner with maximum X and Y values.
Definition: box.h:107
A geographic (ellipsoidal) 2d point.
Definition: geometries_cs.h:57
A 2d point.
Definition: geometries.h:149
This file declares the geometry class hierarchy used by the server as the internal representation of ...
This file declares the coordinate system specific subclasses of the geometry class hierarchy.
Coordinate_system
Types of coordinate systems.
Definition: geometries.h:68
@ kCartesian
A Cartesian plane with the same unit in both directions.
@ kGeographic
An ellipsoidal system with longitude and latitude coordinates, both in the same unit.