19 #ifndef GEOS_OP_DISTANCE_GEOMETRYLOCATION_H
20 #define GEOS_OP_DISTANCE_GEOMETRYLOCATION_H
22 #include <geos/export.h>
24 #include <geos/geom/Coordinate.h>
50 class GEOS_DLL GeometryLocation {
52 const geom::Geometry* component;
64 static const int INSIDE_AREA = -1;
75 GeometryLocation(
const geom::Geometry* component,
76 size_t segIndex,
const geom::Coordinate& pt);
85 GeometryLocation(
const geom::Geometry* component,
86 const geom::Coordinate& pt);
91 const geom::Geometry* getGeometryComponent();
101 size_t getSegmentIndex();
106 geom::Coordinate& getCoordinate();
114 std::string toString();
121 #endif // GEOS_OP_DISTANCE_GEOMETRYLOCATION_H