MySQL  8.0.22
Source Code Documentation
gis::Multicurve Class Referenceabstract

An abstract collection of curves. More...

#include <geometries.h>

Inheritance diagram for gis::Multicurve:
gis::Geometrycollection gis::Geometry gis::Multilinestring gis::Cartesian_multilinestring gis::Geographic_multilinestring

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::Geometrycollection
virtual void push_back (const Geometry &g)=0
 Adds a geometry to the collection. More...
virtual void push_back (Geometry &&g)=0
virtual bool empty () const =0
 Checks if the collection is empty. More...
virtual std::size_t size () const =0
 Returns the size of the geometrycollection. More...
virtual void resize (std::size_t count)=0
 Resizes the geometrycollection to contain a given number of elements. More...
virtual void clear () noexcept=0
 Removes all geometries from the geometrycollection. More...
virtual Geometryoperator[] (std::size_t i)=0
virtual const Geometryoperator[] (std::size_t i) const =0
- Public Member Functions inherited from gis::Geometry
 Geometry ()=default
virtual ~Geometry ()=default
 Geometry (const Geometry &)=default
Geometryoperator= (const Geometry &)=default
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 collection of curves.

Multicurve is a non-instantiable type in SQL.

Member Function Documentation

◆ accept()

bool gis::Multicurve::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::Geometrycollection.

Implemented in gis::Geographic_multilinestring, gis::Cartesian_multilinestring, and gis::Multilinestring.

◆ type()

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

Gets the geometry type of the object.

The type of this object

Reimplemented from gis::Geometrycollection.

Implemented in gis::Multilinestring.

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