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 org.opengis.referencing.operation.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.org.opengis.referencing.operation.TransformException
- If a coordinate transformation operation fails.Copyright © 2014. All rights reserved.