MySQL 8.4.2
Source Code Documentation
gis::Cartesian_box Class Reference

A Cartesian 2d box. More...

#include <box.h>

Inheritance diagram for gis::Cartesian_box:
[legend]

Public Member Functions

 Cartesian_box ()=default
 
 Cartesian_box (Cartesian_point &&min_corner, Cartesian_point &&max_corner)
 
Coordinate_system coordinate_system () const override
 Gets the coordinate system. More...
 
Cartesian_point const & min_corner () const override
 Returns the minimum corner. More...
 
Cartesian_pointmin_corner () override
 
Cartesian_point const & max_corner () const override
 Returns the maximum corner. More...
 
Cartesian_pointmax_corner () override
 
- Public Member Functions inherited from gis::Box
 Box ()=default
 
 Box (const Box &)=default
 
 Box (Box &&)=default
 
Boxoperator= (const Box &)=default
 
Boxoperator= (Box &&)=default
 
virtual ~Box ()=default
 

Private Attributes

Cartesian_point m_min_corner
 The corner with minimum X and Y values. More...
 
Cartesian_point m_max_corner
 The corner with maximum X and Y values. More...
 

Detailed Description

A Cartesian 2d box.

Constructor & Destructor Documentation

◆ Cartesian_box() [1/2]

gis::Cartesian_box::Cartesian_box ( )
default

◆ Cartesian_box() [2/2]

gis::Cartesian_box::Cartesian_box ( Cartesian_point &&  min_corner,
Cartesian_point &&  max_corner 
)
inline

Member Function Documentation

◆ coordinate_system()

Coordinate_system gis::Cartesian_box::coordinate_system ( ) const
inlineoverridevirtual

Gets the coordinate system.

Returns
The coordinate system type.

Implements gis::Box.

◆ max_corner() [1/2]

Cartesian_point const & gis::Cartesian_box::max_corner ( ) const
inlineoverridevirtual

Returns the maximum corner.

Returns
The maximum corner.

Implements gis::Box.

◆ max_corner() [2/2]

Cartesian_point & gis::Cartesian_box::max_corner ( )
inlineoverridevirtual

Implements gis::Box.

◆ min_corner() [1/2]

Cartesian_point const & gis::Cartesian_box::min_corner ( ) const
inlineoverridevirtual

Returns the minimum corner.

Returns
The minimum corner.

Implements gis::Box.

◆ min_corner() [2/2]

Cartesian_point & gis::Cartesian_box::min_corner ( )
inlineoverridevirtual

Implements gis::Box.

Member Data Documentation

◆ m_max_corner

Cartesian_point gis::Cartesian_box::m_max_corner
private

The corner with maximum X and Y values.

◆ m_min_corner

Cartesian_point gis::Cartesian_box::m_min_corner
private

The corner with minimum X and Y values.


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