15 #ifndef GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_H 16 #define GEOS_OP_INTERSECTION_RECTANGLEINTERSECTIONBUILDER_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);
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 std::list< geom::LineString * > lines
Speed-optimized clipping of a Geometry with a rectangle.
Represents a linear polygon, which may include holes.
RectangleIntersectionBuilder(const geom::GeometryFactory &f)
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
std::list< geom::Point * > points
std::list< geom::Polygon * > polygons
Basic namespace for all GEOS functionalities.
const geom::GeometryFactory & _gf
Rebuild geometries from subpaths left by clipping with a rectangle.