20 #ifndef GEOS_GEOS_GEOMETRYCOLLECTION_H 21 #define GEOS_GEOS_GEOMETRYCOLLECTION_H 23 #include <geos/export.h> 24 #include <geos/geom/Geometry.h> 26 #include <geos/geom/Envelope.h> 27 #include <geos/geom/Dimension.h> 29 #include <geos/inline.h> 39 class CoordinateArraySequence;
40 class CoordinateSequenceFilter;
61 typedef std::vector<Geometry *>::const_iterator const_iterator;
63 typedef std::vector<Geometry *>::iterator iterator;
65 const_iterator begin()
const;
67 const_iterator end()
const;
96 bool isEmpty()
const override;
108 int getCoordinateDimension()
const override;
110 Geometry* getBoundary()
const override;
117 int getBoundaryDimension()
const override;
119 std::size_t getNumPoints()
const override;
121 std::string getGeometryType()
const override;
125 bool equalsExact(
const Geometry *other,
126 double tolerance=0)
const override;
144 void normalize()
override;
146 const Coordinate* getCoordinate()
const override;
149 double getArea()
const override;
152 double getLength()
const override;
155 std::size_t getNumGeometries()
const override;
158 const Geometry* getGeometryN(std::size_t n)
const override;
200 std::vector<Geometry *>* geometries;
202 Envelope::Ptr computeEnvelopeInternal()
const override;
204 int compareToSameClass(
const Geometry *gc)
const override;
212 # include "geos/geom/GeometryCollection.inl" 215 #endif // ndef GEOS_GEOS_GEOMETRYCOLLECTION_H Geometry classes support the concept of applying a Geometry filter to the Geometry.
Definition: GeometryFilter.h:48
Geometry * clone() const override
Definition: GeometryCollection.h:75
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Definition: CoordinateSequenceFilter.h:58
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:177
Definition: CoordinateFilter.h:43
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:56
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59
DimensionType
Definition: Dimension.h:31
Definition: GeometryComponentFilter.h:43