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:41
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:70
Cartesian_point const & min_corner() const override
Returns the minimum corner.
Definition: box.h:88
Cartesian_box(Cartesian_point &&min_corner, Cartesian_point &&max_corner)
Definition: box.h:79
Cartesian_point const & max_corner() const override
Returns the maximum corner.
Definition: box.h:94
Cartesian_point & min_corner() override
Definition: box.h:89
Cartesian_point m_max_corner
The corner with maximum X and Y values.
Definition: box.h:75
Coordinate_system coordinate_system() const override
Gets the coordinate system.
Definition: box.h:81
Cartesian_point & max_corner() override
Definition: box.h:95
Cartesian_point m_min_corner
The corner with minimum X and Y values.
Definition: box.h:73
A Cartesian 2d point.
Definition: geometries_cs.h:47
A Geographic 2d box.
Definition: box.h:103
Geographic_box(Geographic_point &&min_corner, Geographic_point &&max_corner)
Definition: box.h:112
Geographic_point & max_corner() override
Definition: box.h:128
Geographic_point & min_corner() override
Definition: box.h:122
Geographic_point const & max_corner() const override
Returns the maximum corner.
Definition: box.h:127
Geographic_point m_min_corner
The corner with minimum X and Y values.
Definition: box.h:106
Geographic_point const & min_corner() const override
Returns the minimum corner.
Definition: box.h:121
Coordinate_system coordinate_system() const override
Gets the coordinate system.
Definition: box.h:114
Geographic_point m_max_corner
The corner with maximum X and Y values.
Definition: box.h:108
A geographic (ellipsoidal) 2d point.
Definition: geometries_cs.h:58
A 2d point.
Definition: geometries.h:150
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:69
@ 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.