Class RectangleContains
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.
Inheritance
RectangleContains
Assembly: NetTopologySuite.dll
Syntax
public class RectangleContains
Constructors
|
Edit this page
View Source
RectangleContains(Polygon)
Create a new contains computer for two geometries.
Declaration
public RectangleContains(Polygon rectangle)
Parameters
| Type |
Name |
Description |
| Polygon |
rectangle |
A rectangular geometry.
|
Methods
|
Edit this page
View Source
Contains(Geometry)
Declaration
public bool Contains(Geometry geom)
Parameters
Returns
|
Edit this page
View Source
Contains(Polygon, Geometry)
Declaration
public static bool Contains(Polygon rectangle, Geometry b)
Parameters
Returns