MySQL 8.4.0
Source Code Documentation
gis::Geographic_point Class Reference

A geographic (ellipsoidal) 2d point. More...

#include <geometries_cs.h>

Inheritance diagram for gis::Geographic_point:
[legend]

Public Member Functions

 Geographic_point ()=default
 
 Geographic_point (double x, double y)
 
Coordinate_system coordinate_system () const override
 Gets the coordinate system. More...
 
Geographic_pointclone () const override
 
- Public Member Functions inherited from gis::Point
 Point ()
 
 Point (double x, double y)
 
Geometry_type type () const override
 Gets the geometry type of the object. More...
 
bool accept (Geometry_visitor *v) override
 Applies a hierarchical visitor to this geometry. More...
 
bool is_empty () const override
 Check if this is an empty geometry. More...
 
template<std::size_t K>
double get () const
 Gets a coordinate value. More...
 
double x () const
 Gets the first coordinate value. More...
 
double y () const
 Gets the second coordinate value. More...
 
template<std::size_t K>
void set (double d)
 Sets a coordinate. More...
 
void x (double d)
 Sets the first coordinate value. More...
 
void y (double d)
 Sets the second coordinate value. More...
 
template<>
double get () const
 
template<>
double get () const
 
template<>
void set (double d)
 
template<>
void set (double d)
 
- Public Member Functions inherited from gis::Geometry
 Geometry ()=default
 
virtual ~Geometry ()=default
 
 Geometry (const Geometry &)=default
 
Geometryoperator= (const Geometry &)=default
 

Detailed Description

A geographic (ellipsoidal) 2d point.

Constructor & Destructor Documentation

◆ Geographic_point() [1/2]

gis::Geographic_point::Geographic_point ( )
default

◆ Geographic_point() [2/2]

gis::Geographic_point::Geographic_point ( double  x,
double  y 
)
inline

Member Function Documentation

◆ clone()

Geographic_point * gis::Geographic_point::clone ( ) const
inlineoverridevirtual

Implements gis::Point.

◆ coordinate_system()

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

Gets the coordinate system.

Returns
The coordinate system type.

Implements gis::Geometry.


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