computeSignedArea static method

double computeSignedArea(
  1. List<Point<num>> path
)

Returns the signed area of a closed path on Earth. The sign of the area may be used to determine the orientation of the path. 'inside' is the surface that does not contain the South Pole.

path A closed path.

return The loop's area in square meters.

Implementation

static double computeSignedArea(List<Point> path) =>
    SphericalUtils.computeSignedAreaTest(path, MathUtils.earthRadius);