17 #include <geos/export.h>
19 #include <geos/geom/Envelope.h>
20 #include <geos/geom/CoordinateArraySequence.h>
21 #include <geos/geom/CoordinateSequence.h>
71 static constexpr
int BOX_LEFT = 3;
72 static constexpr
int BOX_TOP = 2;
73 static constexpr
int BOX_RIGHT = 1;
74 static constexpr
int BOX_BOTTOM = 0;
88 std::unique_ptr<CoordinateArraySequence> clipToBoxEdge(
const CoordinateSequence* pts,
int edgeIndex,
bool closeRing)
const;
98 bool isInsideEdge(
const Coordinate& p,
int edgeIndex)
const;
The default implementation of CoordinateSequence.
Definition: CoordinateArraySequence.h:37
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:58
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
double getMinX() const
Returns the Envelope minimum x-value. min x > max x indicates that this is a null Envelope.
double getMaxX() const
Returns the Envelope maximum x-value. min x > max x indicates that this is a null Envelope.
double getMaxY() const
Returns the Envelope maximum y-value. min y > max y indicates that this is a null Envelope.
double getMinY() const
Returns the Envelope minimum y-value. min y > max y indicates that this is a null Envelope.
Definition: RingClipper.h:66
std::unique_ptr< CoordinateArraySequence > clip(const CoordinateSequence *cs) const
Definition: IndexedNestedRingTester.h:27
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26