public class TopologicalRelationships extends Object
| Constructor and Description |
|---|
TopologicalRelationships() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
intersects(Node node1,
Node node2)
Determines whether or not two GML geometry representations spatially
intersect.
|
public static boolean intersects(Node node1, Node node2) throws TransformException
a.Intersects(b) <==> ! a.Disjoint(b)If the geometry representations have different CRS references, a coordinate transformation operation is attempted.
node1 - An Element node representing a GML geometry object.node2 - An Element node representing another GML geometry object.true if the geometries are not disjoint; false
otherwise.TransformException - If a coordinate transformation operation fails.Copyright © 2015 Open Geospatial Consortium. All rights reserved.