00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef GEOS_GEOS_MULTILINESTRING_H
00018 #define GEOS_GEOS_MULTILINESTRING_H
00019
00020 #include <geos/geom/GeometryCollection.h>
00021
00022 #include <geos/geom/Dimension.h>
00023
00024 #include <string>
00025 #include <vector>
00026
00027 #include <geos/inline.h>
00028
00029
00030 namespace geos {
00031 namespace geom {
00032 class Coordinate;
00033 class CoordinateArraySequence;
00034 }
00035 }
00036
00037 namespace geos {
00038 namespace geom {
00039
00041 class MultiLineString: public GeometryCollection {
00042
00043 public:
00044
00045 friend class GeometryFactory;
00046
00047 virtual ~MultiLineString();
00048
00050 Dimension::DimensionType getDimension() const;
00051
00057 int getBoundaryDimension() const;
00058
00060 Geometry* getBoundary() const;
00061
00062 std::string getGeometryType() const;
00063
00064 virtual GeometryTypeId getGeometryTypeId() const;
00065
00066 bool isClosed() const;
00067
00068 bool isSimple() const;
00069
00070 bool equalsExact(const Geometry *other, double tolerance=0) const;
00071
00072 Geometry *clone() const;
00073
00083 MultiLineString* reverse() const;
00084
00085 protected:
00086
00106 MultiLineString(std::vector<Geometry *> *newLines,
00107 const GeometryFactory *newFactory);
00108
00109 MultiLineString(const MultiLineString &mp);
00110 };
00111
00112 }
00113 }
00114
00115 #ifdef GEOS_INLINE
00116 # include "geos/geom/MultiLineString.inl"
00117 #endif
00118
00119 #endif // ndef GEOS_GEOS_MULTILINESTRING_H
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140