nearestLocations method

List<GeometryLocation?>? nearestLocations()

Report the locations of the nearest points in the input geometries. The locations are presented in the same order as the input Geometries.

@return a pair of {@link GeometryLocation}s for the nearest points

Implementation

List<GeometryLocation?>? nearestLocations() {
  computeMinDistance();
  return minDistanceLocation;
}