22#include <geos/export.h>
23#include <geos/geom/Location.h>
31class CoordinateSequence;
70 bool isPointOnSegment;
90 const std::vector<const geom::Coordinate*>& ring);
111 isPointOnSegment(false)
135 return isPointOnSegment;
Counts the number of segments crossed by a horizontal ray extending to the right from a given point,...
Definition: RayCrossingCounterDD.h:63
static geom::Location locatePointInRing(const geom::Coordinate &p, const std::vector< const geom::Coordinate * > &ring)
Semantically equal to the above, just different args encoding.
bool isPointInPolygon()
Tests whether the point lies in or on the ring, polygon or multipolygon from which the processed segm...
geom::Location getLocation()
Gets the Location of the point relative to the ring, polygon or multipolygon from which the processed...
bool isOnSegment()
Reports whether the point lies exactly on one of the supplied segments.
Definition: RayCrossingCounterDD.h:133
void countSegment(const geom::Coordinate &p1, const geom::Coordinate &p2)
Counts a segment.
static geom::Location locatePointInRing(const geom::Coordinate &p, const geom::CoordinateSequence &ring)
Determines the Location of a point in a ring. This method is an exemplar of how to use this class.
static int orientationIndex(const geom::Coordinate &p1, const geom::Coordinate &p2, const geom::Coordinate &q)
Returns the index of the direction of the point q relative to a vector specified by p1-p2.
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:44
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:32
Basic namespace for all GEOS functionalities.
Definition: geos.h:39