closestPointsStatic static method
Compute the the closest points of two geometries. The points are presented in the same order as the input Geometries.
@param g0 a {@link Geometry} @param g1 another {@link Geometry} @return the closest points in the geometries @deprecated renamed to nearestPoints
Implementation
static List<Coordinate> closestPointsStatic(Geometry g0, Geometry g1) {
DistanceOp distOp = new DistanceOp(g0, g1);
return distOp.nearestPoints();
}