ofRingSeq static method

double ofRingSeq(
  1. CoordinateSequence ring
)

Computes the area for a ring.

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

Implementation

static double ofRingSeq(CoordinateSequence ring) {
  return ofRingSignedSeq(ring).abs();
}