20 #ifndef GEOS_OP_PREDICATE_RECTANGLEINTERSECTS_H
21 #define GEOS_OP_PREDICATE_RECTANGLEINTERSECTS_H
23 #include <geos/export.h>
25 #include <geos/geom/Polygon.h>
74 rectEnv(*(newRect.getEnvelopeInternal()))
91 return rp.intersects(b);
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Represents a linear polygon, which may include holes.
Definition: Polygon.h:64
Optimized implementation of the "intersects" spatial predicate for cases where one Geometry is a rect...
Definition: RectangleIntersects.h:52
RectangleIntersects(const geom::Polygon &newRect)
Create a new intersects computer for a rectangle.
Definition: RectangleIntersects.h:71
static bool intersects(const geom::Polygon &rectangle, const geom::Geometry &b)
Tests whether a rectangle intersects a given geometry.
Definition: RectangleIntersects.h:87
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26