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>
64 static const int INSIDE_AREA = -1;
114 std::string toString();
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Represents the location of a point on a Geometry.
Definition: GeometryLocation.h:50
geom::Coordinate & getCoordinate()
const geom::Geometry * getGeometryComponent()
GeometryLocation(const geom::Geometry *component, const geom::Coordinate &pt)
Constructs a GeometryLocation specifying a point inside an area geometry.
GeometryLocation(const geom::Geometry *component, size_t segIndex, const geom::Coordinate &pt)
Constructs a GeometryLocation specifying a point on a geometry, as well as the segment that the point...
bool isInsideArea()
Tests whether this location represents a point inside an area geometry.
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26