23#include <geos/export.h>
24#include <geos/geom/GeometryCollection.h>
25#include <geos/geom/Dimension.h>
26#include <geos/geom/LineString.h>
27#include <geos/geom/MultiPoint.h>
37class CoordinateArraySequence;
46#pragma warning(disable:4250)
81 bool isClosed()
const;
83 std::unique_ptr<MultiLineString> clone()
const
85 return std::unique_ptr<MultiLineString>(cloneImpl());
97 std::unique_ptr<MultiLineString>
reverse()
const {
return std::unique_ptr<MultiLineString>(reverseImpl()); }
136 getSortIndex()
const override
138 return SORTINDEX_MULTILINESTRING;
DimensionType
Definition: Dimension.h:29
@ L
Dimension value of a curve (1).
Definition: Dimension.h:43
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:52
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:66
Definition: LineString.h:66
Models a collection of LineStrings.
Definition: MultiLineString.h:50
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiLineString.h:61
Dimension::DimensionType getDimension() const override
Returns line dimension (1)
MultiLineString * reverseImpl() const override
Make a geometry with coordinates in reverse order.
const LineString * getGeometryN(std::size_t n) const override
Returns a pointer to the nth Geometry in this collection.
MultiLineString * cloneImpl() const override
Make a deep-copy of this Geometry.
Definition: MultiLineString.h:131
GeometryTypeId getGeometryTypeId() const override
Return an integer representation of this Geometry type.
std::string getGeometryType() const override
Return a string representation of this Geometry type.
std::unique_ptr< MultiLineString > reverse() const
Definition: MultiLineString.h:97
int getBoundaryDimension() const override
Returns Dimension::False if all LineStrings in the collection are closed, 0 otherwise.
std::unique_ptr< Geometry > getBoundary() const override
Returns a (possibly empty) MultiPoint.
MultiLineString(std::vector< Geometry * > *newLines, const GeometryFactory *newFactory)
Constructs a MultiLineString.
GeometryTypeId
Geometry types.
Definition: Geometry.h:73
Basic namespace for all GEOS functionalities.
Definition: geos.h:39