00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef GEOS_LINEARREF_LOCATIONINDEXOFLINE_H
00021 #define GEOS_LINEARREF_LOCATIONINDEXOFLINE_H
00022
00023 #include <geos/geom/Coordinate.h>
00024 #include <geos/geom/Geometry.h>
00025 #include <geos/linearref/LinearLocation.h>
00026
00027 namespace geos
00028 {
00029 namespace linearref
00030 {
00031
00041 class LocationIndexOfLine
00042 {
00048 private:
00049 const geom::Geometry* linearGeom;
00050
00051 public:
00052
00066 static LinearLocation* indicesOf(const geom::Geometry* linearGeom, const geom::Geometry* subLine);
00067
00068 LocationIndexOfLine(const geom::Geometry* linearGeom);
00069
00071 LinearLocation* indicesOf(const geom::Geometry* subLine) const;
00072 };
00073 }
00074 }
00075
00076 #endif