21#ifndef GEOS_GEOS_MULTIPOINT_H
22#define GEOS_GEOS_MULTIPOINT_H
24#include <geos/export.h>
25#include <geos/geom/GeometryCollection.h>
26#include <geos/geom/Dimension.h>
28#include <geos/inline.h>
36class CoordinateArraySequence;
45#pragma warning(disable:4250)
65 return d == Dimension::P;
88 std::unique_ptr<Geometry>
91 return std::unique_ptr<Geometry>(
new MultiPoint(*
this));
94 std::unique_ptr<Geometry>
128 const Coordinate* getCoordinateN(
size_t n)
const;
131 getSortIndex()
const override
133 return SORTINDEX_MULTIPOINT;
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
DimensionType
Definition: Dimension.h:31
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: MultiPoint.h:53
std::unique_ptr< Geometry > reverse() const override
Definition: MultiPoint.h:95
bool equalsExact(const Geometry *other, double tolerance=0) const override
Returns true iff the two Geometrys are of the same type and their vertices corresponding by index are...
std::unique_ptr< Geometry > clone() const override
Definition: MultiPoint.h:89
MultiPoint(std::vector< Geometry * > *newPoints, const GeometryFactory *newFactory)
Constructs a MultiPoint.
std::unique_ptr< Geometry > getBoundary() const override
Gets the boundary of this geometry.
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiPoint.h:64
std::string getGeometryType() const override
Return a string representation of this Geometry type.
Dimension::DimensionType getDimension() const override
Returns point dimension (0)
int getBoundaryDimension() const override
Returns Dimension::False (Point has no boundary)
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25