public class JTSUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals3D(org.locationtech.jts.geom.Coordinate c1,
org.locationtech.jts.geom.Coordinate c2) |
static boolean |
equalsExact3D(org.locationtech.jts.geom.Geometry g1,
org.locationtech.jts.geom.Geometry g2)
Determines equality between geometries taking into
account all coordinates, and the SRID.
|
public static boolean equalsExact3D(org.locationtech.jts.geom.Geometry g1,
org.locationtech.jts.geom.Geometry g2)
Note that doubles are compared exactly, i.e. _not_ to without some error-bound.
This method is used e.g. for dirty-checking in Hibernate
g1 - first geometry to compare (may be null)g2 - second geometry to compare (may be null)public static boolean equals3D(org.locationtech.jts.geom.Coordinate c1,
org.locationtech.jts.geom.Coordinate c2)
Copyright © 2021 geolatte.org. All rights reserved.