MySQL  8.0.22
Source Code Documentation
gis::Geographic_point Class Reference

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

#include <geometries_cs.h>

Inheritance diagram for gis::Geographic_point:
gis::Point gis::Geometry

Public Member Functions

 Geographic_point ()=default
 
 Geographic_point (double x, double y)
 
Coordinate_system coordinate_system () const override
 Gets the coordinate system. More...
 
- 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

◆ coordinate_system()

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

Gets the coordinate system.

Returns
The coordiante system type.

Implements gis::Geometry.


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