21#include <geos/export.h>
23#include <geos/geom/Coordinate.h>
49class GEOS_DLL GeometryLocation {
54 geom::CoordinateXY pt;
82 std::size_t segIndex,
const geom::CoordinateXY& pt);
92 const geom::CoordinateXY& pt);
120 std::string toString();
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
std::size_t getSegmentIndex()
geom::CoordinateXY & getCoordinate()
bool isInsideArea()
Tests whether this location represents a point inside an area geometry.
GeometryLocation(const geom::Geometry *component, const geom::CoordinateXY &pt)
Constructs a GeometryLocation specifying a point inside an area geometry.
GeometryLocation(const geom::Geometry *component, std::size_t segIndex, const geom::CoordinateXY &pt)
Constructs a GeometryLocation specifying a point on a geometry, as well as the segment that the point...
static const int INSIDE_AREA
A Special value of segmentIndex used for locations inside area geometries.
Definition GeometryLocation.h:63
const geom::Geometry * getGeometryComponent()
Provides classes for computing the distance between geometries.
Definition namespaces.h:185
Provides classes for implementing operations on geometries.
Definition namespaces.h:179
Basic namespace for all GEOS functionalities.
Definition geos.h:39