MySQL 8.0.39
Source Code Documentation
gis::Box Class Referenceabstract

A 2d box with sides parallel to the coordinate system grid. More...

#include <box.h>

Inheritance diagram for gis::Box:
[legend]

Public Member Functions

 Box ()=default
 
 Box (const Box &)=default
 
 Box (Box &&)=default
 
Boxoperator= (const Box &)=default
 
Boxoperator= (Box &&)=default
 
virtual ~Box ()=default
 
virtual Coordinate_system coordinate_system () const =0
 Gets the coordinate system. More...
 
virtual Point const & min_corner () const =0
 Returns the minimum corner. More...
 
virtual Pointmin_corner ()=0
 
virtual Point const & max_corner () const =0
 Returns the maximum corner. More...
 
virtual Pointmax_corner ()=0
 

Detailed Description

A 2d box with sides parallel to the coordinate system grid.

Used by computations on minimum bounding boxes (MBRs).

Constructor & Destructor Documentation

◆ Box() [1/3]

gis::Box::Box ( )
default

◆ Box() [2/3]

gis::Box::Box ( const Box )
default

◆ Box() [3/3]

gis::Box::Box ( Box &&  )
default

◆ ~Box()

virtual gis::Box::~Box ( )
virtualdefault

Member Function Documentation

◆ coordinate_system()

virtual Coordinate_system gis::Box::coordinate_system ( ) const
pure virtual

Gets the coordinate system.

Returns
The coordinate system type.

Implemented in gis::Cartesian_box, and gis::Geographic_box.

◆ max_corner() [1/2]

virtual Point const & gis::Box::max_corner ( ) const
pure virtual

Returns the maximum corner.

Returns
The maximum corner.

Implemented in gis::Cartesian_box, and gis::Geographic_box.

◆ max_corner() [2/2]

virtual Point & gis::Box::max_corner ( )
pure virtual

◆ min_corner() [1/2]

virtual Point const & gis::Box::min_corner ( ) const
pure virtual

Returns the minimum corner.

Returns
The minimum corner.

Implemented in gis::Cartesian_box, and gis::Geographic_box.

◆ min_corner() [2/2]

virtual Point & gis::Box::min_corner ( )
pure virtual

◆ operator=() [1/2]

Box & gis::Box::operator= ( Box &&  )
default

◆ operator=() [2/2]

Box & gis::Box::operator= ( const Box )
default

The documentation for this class was generated from the following file: