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;
104 : clipEnvMinY(env->getMinY())
105 , clipEnvMaxY(env->getMaxY())
106 , clipEnvMinX(env->getMinX())
107 , clipEnvMaxX(env->getMaxX())
An Envelope defines a rectangulare region of the 2D coordinate plane.
The default implementation of CoordinateSequence.
Coordinate is the lightweight class used to store coordinates.
RingClipper(const Envelope *env)
Basic namespace for all GEOS functionalities.
The internal representation of a list of coordinates inside a Geometry.