MySQL 8.3.0
Source Code Documentation
gis::Cartesian_point Class Reference

A Cartesian 2d point. More...

#include <geometries_cs.h>

Inheritance diagram for gis::Cartesian_point:

Public Member Functions

 Cartesian_point ()=default
 Cartesian_point (double x, double y)
Coordinate_system coordinate_system () const override
 Gets the coordinate system. More...
Cartesian_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...
double get () const
double get () const
void set (double d)
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 Cartesian 2d point.

Constructor & Destructor Documentation

◆ Cartesian_point() [1/2]

gis::Cartesian_point::Cartesian_point ( )

◆ Cartesian_point() [2/2]

gis::Cartesian_point::Cartesian_point ( double  x,
double  y 

Member Function Documentation

◆ clone()

Cartesian_point * gis::Cartesian_point::clone ( ) const

Implements gis::Point.

◆ coordinate_system()

Coordinate_system gis::Cartesian_point::coordinate_system ( ) const

Gets the coordinate system.

The coordinate system type.

Implements gis::Geometry.

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