GEOS
3.14.0dev
|
Optimized implementation of spatial predicate "contains" for cases where the first Geometry is a rectangle. More...
#include <RectangleContains.h>
Public Member Functions | |
RectangleContains (const geom::Polygon &rect) | |
bool | contains (const geom::Geometry &geom) |
RectangleContains (const RectangleContains &other)=delete | |
RectangleContains & | operator= (const RectangleContains &rhs)=delete |
Static Public Member Functions | |
static bool | contains (const geom::Polygon &rect, const geom::Geometry &b) |
Optimized implementation of spatial predicate "contains" for cases where the first Geometry is a rectangle.
As a further optimization, this class can be used directly to test many geometries against a single rectangle.
|
inline |
Create a new contains computer for two geometries.
rect | a rectangular geometry |