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()))
90 return rp.intersects(b);
100 #endif // ifndef GEOS_OP_PREDICATE_RECTANGLEINTERSECTS_H An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:53
Optimized implementation of the "intersects" spatial predicate for cases where one Geometry is a rect...
Definition: RectangleIntersects.h:52
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:167
static bool intersects(const geom::Polygon &rectangle, const geom::Geometry &b)
Tests whether a rectangle intersects a given geometry.
Definition: RectangleIntersects.h:86
Represents a linear polygon, which may include holes.
Definition: Polygon.h:66
RectangleIntersects(const geom::Polygon &newRect)
Create a new intersects computer for a rectangle.
Definition: RectangleIntersects.h:71
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25