MySQL 8.0.40
Source Code Documentation
|
A geographic (ellipsoidal) 2d geometry collection. More...
#include <geometries_cs.h>
Public Types | |
typedef decltype(m_geometries) ::iterator | iterator |
typedef decltype(m_geometries) ::const_iterator | const_iterator |
Public Member Functions | |
Geographic_geometrycollection () | |
Geographic_geometrycollection (const Geographic_geometrycollection &gc) | |
Geographic_geometrycollection (Geographic_geometrycollection &&gc) noexcept | |
~Geographic_geometrycollection () override | |
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... | |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
Geometry & | front () override |
Returns the first geometry of the collection. More... | |
const Geometry & | front () const override |
Geometry & | operator[] (std::size_t i) override |
const Geometry & | operator[] (std::size_t i) const override |
Geographic_geometrycollection * | clone () const override |
Clone pattern to easily duplicate a Geometrycollection. More... | |
Public Member Functions inherited from gis::Geometrycollection | |
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< Geometry *, Malloc_allocator< Geometry * > > | m_geometries |
List of geometries in the collection. More... | |
Additional Inherited Members | |
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 geographic (ellipsoidal) 2d geometry collection.
typedef decltype(m_geometries) ::const_iterator gis::Geographic_geometrycollection::const_iterator |
typedef decltype(m_geometries) ::iterator gis::Geographic_geometrycollection::iterator |
|
inline |
gis::Geographic_geometrycollection::Geographic_geometrycollection | ( | const Geographic_geometrycollection & | gc | ) |
|
inlinenoexcept |
|
inlineoverride |
|
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::Geometrycollection.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtualnoexcept |
Removes all geometries from the geometrycollection.
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Clone pattern to easily duplicate a Geometrycollection.
Implements gis::Geometrycollection.
|
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::Geometrycollection.
|
inlineoverridevirtual |
Returns the first geometry of the collection.
Implements gis::Geometrycollection.
|
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 geometries in the collection.