MySQL 9.1.0
Source Code Documentation
|
A geographic (ellipsoidal) 2d multipoint. More...
#include <geometries_cs.h>
Public Types | |
typedef decltype(m_points) ::value_type | value_type |
typedef decltype(m_points) ::iterator | iterator |
typedef decltype(m_points) ::const_iterator | const_iterator |
Public Member Functions | |
Geographic_multipoint () | |
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 |
Geographic_point & | front () override |
Returns the first point of the Multipoint. More... | |
const Geographic_point & | front () const override |
Geographic_point & | operator[] (std::size_t i) override |
const Geographic_point & | operator[] (std::size_t i) const override |
Geographic_multipoint * | clone () const override |
Clone pattern to easily duplicate a Multipoint. More... | |
Public Member Functions inherited from gis::Multipoint | |
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< Geographic_point, Malloc_allocator< Geographic_point > > | m_points |
List of points in the collection. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from gis::Multipoint | |
static Multipoint * | create_multipoint (Coordinate_system coordinate_system) |
Creates a subclass of Multipoint 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 geographic (ellipsoidal) 2d multipoint.
typedef decltype(m_points) ::const_iterator gis::Geographic_multipoint::const_iterator |
typedef decltype(m_points) ::iterator gis::Geographic_multipoint::iterator |
typedef decltype(m_points) ::value_type gis::Geographic_multipoint::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::Multipoint.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineoverridevirtualnoexcept |
Removes all geometries from the geometrycollection.
Implements gis::Geometrycollection.
|
inlineoverridevirtual |
Clone pattern to easily duplicate a Multipoint.
Implements gis::Multipoint.
|
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::Multipoint.
|
inlineoverridevirtual |
Returns the first point of the Multipoint.
Implements gis::Multipoint.
|
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 points in the collection.