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
80 bool isClosed()
const;
84 std::unique_ptr<Geometry>
clone()
const override;
95 std::unique_ptr<Geometry>
reverse()
const override;
128 getSortIndex()
const override
130 return SORTINDEX_MULTILINESTRING;
143 # include "geos/geom/MultiLineString.inl"
146 #endif // ndef GEOS_GEOS_MULTILINESTRING_H
Dimension::DimensionType getDimension() const override
Returns line dimension (1)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
std::unique_ptr< Geometry > getBoundary() const override
Returns a (possibly empty) MultiPoint.
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.
DimensionType
Definition: Dimension.h:67
Models a collection of LineStrings.
Definition: MultiLineString.h:51
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...
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
@ L
Dimension value of a curve (1).
Definition: Dimension.h:93
Represents a collection of heterogeneous Geometry objects.
Definition: GeometryCollection.h:55
bool isDimensionStrict(Dimension::DimensionType d) const override
Checks whether this Geometry consists only of components having dimension d.
Definition: MultiLineString.h:62
std::unique_ptr< Geometry > reverse() const override
std::unique_ptr< Geometry > clone() const override
GeometryTypeId
Geometry types.
Definition: Geometry.h:75
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
int getBoundaryDimension() const override
Returns Dimension::False if all LineStrings in the collection are closed, 0 otherwise.
MultiLineString(std::vector< Geometry * > *newLines, const GeometryFactory *newFactory)
Constructs a MultiLineString.