public class SpatialAssert extends Object
| Constructor and Description |
|---|
SpatialAssert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertIntersects(Envelope env1,
Envelope env2)
Asserts that the given envelopes intersect.
|
public static void assertIntersects(Envelope env1, Envelope env2)
a.Intersects(b) <--> ! a.Disjoint(b)
env1 - An Envelope representing a spatial extent.env2 - An Envelope object representing some other spatial extent.Copyright © 2020 Open Geospatial Consortium. All rights reserved.