22#include <geos/export.h>
24#include <geos/geom/Polygon.h>
51class GEOS_DLL RectangleIntersects {
60 RectangleIntersects(
const RectangleIntersects& other) =
delete;
61 RectangleIntersects& operator=(
const RectangleIntersects& rhs) =
delete;
73 rectEnv(*(newRect.getEnvelopeInternal()))
89 RectangleIntersects rp(rectangle);
90 return rp.intersects(b);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
Represents a linear polygon, which may include holes.
Definition Polygon.h:61
RectangleIntersects(const geom::Polygon &newRect)
Create a new intersects computer for a rectangle.
Definition RectangleIntersects.h:70
static bool intersects(const geom::Polygon &rectangle, const geom::Geometry &b)
Tests whether a rectangle intersects a given geometry.
Definition RectangleIntersects.h:86
Classes which implement topological predicates optimized for particular kinds of geometries.
Definition namespaces.h:236
Provides classes for implementing operations on geometries.
Definition namespaces.h:179
Basic namespace for all GEOS functionalities.
Definition geos.h:39