21 #ifndef GEOS_GEOS_MULTILINESTRING_H
22 #define GEOS_GEOS_MULTILINESTRING_H
24 #include <geos/export.h>
25 #include <geos/geom/GeometryCollection.h>
26 #include <geos/geom/Dimension.h>
27 #include <geos/geom/LineString.h>
32 #include <geos/inline.h>
38 class CoordinateArraySequence;
47 #pragma warning(disable:4250) // T1 inherits T2 via dominance
71 int getBoundaryDimension()
const override;
74 std::unique_ptr<Geometry> getBoundary()
const override;
76 const LineString* getGeometryN(std::size_t n)
const override;
78 std::string getGeometryType()
const override;
82 bool isClosed()
const;
84 bool equalsExact(
const Geometry* other,
double tolerance = 0)
const override;
86 std::unique_ptr<Geometry> clone()
const override;
97 std::unique_ptr<Geometry> reverse()
const override;
130 getSortIndex()
const override
132 return SORTINDEX_MULTILINESTRING;
145 # include "geos/geom/MultiLineString.inl"
148 #endif // ndef GEOS_GEOS_MULTILINESTRING_H
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Definition: LineString.h:68
Dimension value of a curve (1).
Definition: Dimension.h:45
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiLineString.h:62
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
Models a collection of LineStrings.
Definition: MultiLineString.h:51
DimensionType
Definition: Dimension.h:31