21#include <geos/export.h>
23#include <geos/geom/Coordinate.h>
54 geom::CoordinateXY pt;
63 static const int INSIDE_AREA = -1;
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
Represents the location of a point on a Geometry.
Definition GeometryLocation.h:49
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...
const geom::Geometry * getGeometryComponent()
Basic namespace for all GEOS functionalities.
Definition geos.h:39