20#ifndef GEOS_ALGORITHM_RAYCROSSINGCOUNTER_H
21#define GEOS_ALGORITHM_RAYCROSSINGCOUNTER_H
23#include <geos/export.h>
66class GEOS_DLL RayCrossingCounter
74 bool isPointOnSegment;
77 RayCrossingCounter(
const RayCrossingCounter& other);
78 RayCrossingCounter& operator=(
const RayCrossingCounter& rhs);
94 const std::vector<const geom::Coordinate*>& ring);
115 isPointOnSegment( false)
138 return isPointOnSegment;
static int locatePointInRing(const geom::Coordinate &p, const geom::CoordinateSequence &ring)
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.
bool isOnSegment()
Definition RayCrossingCounter.h:136
void countSegment(const geom::Coordinate &p1, const geom::Coordinate &p2)
static int locatePointInRing(const geom::Coordinate &p, const std::vector< const geom::Coordinate * > &ring)
Semantically equal to the above, just different args encoding.
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:59
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:60
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Definition Angle.h:33
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25