ofRing static method

double ofRing(
  1. List<Coordinate> ring
)

Computes the area for a ring.

@param ring the coordinates forming the ring @return the area of the ring

Implementation

static double ofRing(List<Coordinate> ring) {
  return ofRingSigned(ring).abs();
}