17#include <geos/export.h>
18#include <geos/geom/Envelope.h>
50class GEOS_DLL RobustClipEnvelopeComputer {
61 const Envelope* targetEnv;
65 void add(
const Geometry* g);
66 void addCollection(
const GeometryCollection* gc);
67 void addPolygon(
const Polygon* poly);
68 void addPolygonRing(
const LinearRing* ring);
69 void addSegment(
const Coordinate& p1,
const Coordinate& p2);
70 bool intersectsSegment(
const Envelope* env,
const Coordinate& p1,
const Coordinate& p2);
76 RobustClipEnvelopeComputer(
const Envelope* p_targetEnv);
78 static Envelope getEnvelope(
const Geometry* a,
const Geometry* b,
const Envelope* targetEnv);
80 Envelope getEnvelope();
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Represents a collection of heterogeneous Geometry objects.
Definition GeometryCollection.h:51
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple.
Definition LinearRing.h:54
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
Provides classes for implementing operations on geometries.
Definition CleanCoverage.h:34
Basic namespace for all GEOS functionalities.
Definition geos.h:38