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