MySQL  8.0.26
Source Code Documentation
gis::Curve Class Referenceabstract

An abstract 2d curve. More...

#include <geometries.h>

Inheritance diagram for gis::Curve:
gis::Geometry gis::Linestring gis::Cartesian_linestring gis::Geographic_linestring gis::Linearring gis::Cartesian_linearring gis::Geographic_linearring gis::Cartesian_linearring gis::Geographic_linearring

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
vA hierarchical visitor.
Return values
trueThe execution was aborted by the visitor.
falseThe execution completed.

Implements gis::Geometry.

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

◆ type()

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

Gets the geometry type of the object.

The type of this object

Implements gis::Geometry.

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

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