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 {
77 std::auto_ptr<geom::Geometry> build();
85 void reconnectPolygons(
const Rectangle & rect);
126 std::list<geom::Polygon *> polygons;
127 std::list<geom::LineString *> lines;
128 std::list<geom::Point *> points;
144 std::vector<geom::Coordinate> * ring,
145 double x1,
double y1,
146 double x2,
double y2);
148 void close_ring(
const Rectangle & rect, std::vector<geom::Coordinate> * ring);
161 #endif // GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_H Speed-optimized clipping of a Geometry with a rectangle.
Definition: RectangleIntersection.h:74
Definition: LineString.h:70
Represents a linear polygon, which may include holes.
Definition: Polygon.h:66
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
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