![]() |
MySQL 8.0.43
Source Code Documentation
|
A Cartesian 2d multilinestring. More...
#include <geometries_cs.h>
Public Types | |
| typedef decltype(m_linestrings) ::value_type | value_type |
| typedef decltype(m_linestrings) ::iterator | iterator |
| typedef decltype(m_linestrings) ::const_iterator | const_iterator |
Public Member Functions | |
| Cartesian_multilinestring () | |
| Coordinate_system | coordinate_system () const override |
| Gets the coordinate system. 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... | |
| void | pop_front () override |
| Removes a geometry from the front of the collection. More... | |
| void | push_back (const Geometry &g) override |
| Adds a geometry to the collection. More... | |
| void | push_back (Geometry &&g) override |
| bool | empty () const override |
| Checks if the collection is empty. More... | |
| std::size_t | size () const override |
| Returns the size of the geometrycollection. More... | |
| void | resize (std::size_t count) override |
| Resizes the geometrycollection to contain a given number of elements. More... | |
| void | clear () noexcept override |
| Removes all geometries from the geometrycollection. More... | |
| Cartesian_linestring & | back () |
| const Cartesian_linestring & | back () const |
| iterator | begin () noexcept |
| const_iterator | begin () const noexcept |
| iterator | end () noexcept |
| const_iterator | end () const noexcept |
| Cartesian_linestring & | front () override |
| Returns the first linestring of the Multilinestring. More... | |
| const Cartesian_linestring & | front () const override |
| Cartesian_linestring & | operator[] (std::size_t i) override |
| const Geometry & | operator[] (std::size_t i) const override |
| Cartesian_multilinestring * | clone () const override |
| Clone pattern to easily duplicate a Multilinestring. More... | |
Public Member Functions inherited from gis::Multilinestring | |
| Geometry_type | type () const override |
| Gets the geometry type of the object. More... | |
Public Member Functions inherited from gis::Geometry | |
| Geometry ()=default | |
| virtual | ~Geometry ()=default |
| Geometry (const Geometry &)=default | |
| Geometry & | operator= (const Geometry &)=default |
Private Attributes | |
| std::vector< Cartesian_linestring, Malloc_allocator< Cartesian_linestring > > | m_linestrings |
| List of linestrings in the collection. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from gis::Multilinestring | |
| static Multilinestring * | create_multilinestring (Coordinate_system coordinate_system) |
| Creates a subclass of Multilinestring from a Coordinate_system. More... | |
Static Public Member Functions inherited from gis::Geometrycollection | |
| static Geometrycollection * | CreateGeometrycollection (Coordinate_system coordinate_system) |
| Creates a subclass of Geometrycollection from a Coordinate_system. More... | |
| static Geometrycollection * | create_geometrycollection (Coordinate_system coordinate_system) |
| Creates a subclass from a Coordinate_system. More... | |
A Cartesian 2d multilinestring.
| typedef decltype(m_linestrings) ::const_iterator gis::Cartesian_multilinestring::const_iterator |
| typedef decltype(m_linestrings) ::iterator gis::Cartesian_multilinestring::iterator |
| typedef decltype(m_linestrings) ::value_type gis::Cartesian_multilinestring::value_type |
|
inline |
|
overridevirtual |
Applies a hierarchical visitor to this geometry.
| v | A hierarchical visitor. |
| true | The execution was aborted by the visitor. |
| false | The execution completed. |
Implements gis::Multilinestring.
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtualnoexcept |
Removes all geometries from the geometrycollection.
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Clone pattern to easily duplicate a Multilinestring.
Implements gis::Multilinestring.
|
inlineoverridevirtual |
|
overridevirtual |
Checks if the collection is empty.
| true | The polygon is empty. |
| false | The polygon is not empty. |
Implements gis::Geometrycollection.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtual |
Implements gis::Multilinestring.
|
inlineoverridevirtual |
Returns the first linestring of the Multilinestring.
Implements gis::Multilinestring.
|
inlineoverridevirtual |
Check if this is an empty geometry.
The definition of empty geometries is the one in SFA-CA (OGC 06-103r4, Sect. 6.1.2.2), i.e., an empty point set.
| true | The geometry represents the empty point set. |
| false | The geometry represent a non-empty point set. |
Implements gis::Geometry.
|
inlineoverridevirtual |
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Removes a geometry from the front of the collection.
Implements gis::Geometrycollection.
|
overridevirtual |
Adds a geometry to the collection.
| g | The geometry to add. |
Implements gis::Geometrycollection.
|
overridevirtual |
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Resizes the geometrycollection to contain a given number of elements.
If the new size is smaller than the current size, the remaining geometries are discarded.
| [in] | count | The new number of geometries. |
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Returns the size of the geometrycollection.
Implements gis::Geometrycollection.
|
private |
List of linestrings in the collection.