15 #ifndef GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_H 16 #define GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_H 18 #include <geos/export.h> 22 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 35 class GeometryFactory;
41 namespace intersection {
49 namespace intersection {
76 std::unique_ptr<geom::Geometry> build();
84 void reconnectPolygons(
const Rectangle& rect);
125 std::list<geom::Polygon*> polygons;
126 std::list<geom::LineString*> lines;
127 std::list<geom::Point*> points;
143 std::vector<geom::Coordinate>* ring,
144 double x1,
double y1,
145 double x2,
double y2);
147 void close_ring(
const Rectangle& rect, std::vector<geom::Coordinate>* ring);
160 #endif // GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_H Speed-optimized clipping of a Geometry with a rectangle.
Definition: RectangleIntersection.h:75
Definition: LineString.h:68
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Rebuild geometries from subpaths left by clipping with a rectangle.
Definition: RectangleIntersectionBuilder.h:63
Clipping rectangle.
Definition: Rectangle.h:51