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>
52class GEOS_DLL RectangleIntersects {
61 RectangleIntersects(
const RectangleIntersects& other);
62 RectangleIntersects& operator=(
const RectangleIntersects& rhs);
74 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:53
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:167
Represents a linear polygon, which may include holes.
Definition Polygon.h:67
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:86
Contains the Geometry interface hierarchy and supporting classes.
Definition IndexedNestedRingTester.h:26
Provides classes for implementing operations on geometries.
Definition IndexedNestedRingTester.h:40
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25