Computes the signed area for a ring. The signed area is positive if the ring is oriented CW, negative if the ring is oriented CCW, and zero if the ring is degenerate or flat.
-
Parameters:
-
ring - ring the coordinates forming the ring
-
Returns:
-
the signed area of the ring