MySQL 8.0.39
Source Code Documentation
gis::Curve Class Referenceabstract

An abstract 2d curve. More...

#include <geometries.h>

Inheritance diagram for gis::Curve:
[legend]

Public Member Functions

Geometry_type type () const override=0
 Gets the geometry type of the object. More...
 
bool accept (Geometry_visitor *v) override=0
 Applies a hierarchical visitor to this geometry. More...
 
- Public Member Functions inherited from gis::Geometry
 Geometry ()=default
 
virtual ~Geometry ()=default
 
 Geometry (const Geometry &)=default
 
Geometryoperator= (const Geometry &)=default
 
virtual Geometryclone () const =0
 
virtual Coordinate_system coordinate_system () const =0
 Gets the coordinate system. More...
 
virtual bool is_empty () const =0
 Check if this is an empty geometry. More...
 

Detailed Description

An abstract 2d curve.

Curve is a non-instantiable type in SQL.

Member Function Documentation

◆ accept()

bool gis::Curve::accept ( Geometry_visitor v)
overridepure virtual

Applies a hierarchical visitor to this geometry.

See also
gis::Geometry_visitor
Parameters
vA hierarchical visitor.
Return values
trueThe execution was aborted by the visitor.
falseThe execution completed.

Implements gis::Geometry.

Implemented in gis::Cartesian_linestring, gis::Geographic_linestring, gis::Cartesian_linearring, gis::Geographic_linearring, gis::Linestring, and gis::Linearring.

◆ type()

Geometry_type gis::Curve::type ( ) const
overridepure virtual

Gets the geometry type of the object.

Returns
The type of this object

Implements gis::Geometry.

Implemented in gis::Linestring, gis::Cartesian_linearring, and gis::Geographic_linearring.


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