Compute the signed area of a polygon.
Positive area indicates counterclockwise vertex order,
negative area indicates clockwise order.
- Parameters:
- vertices
ndarray of shape (N, 2) Vertices of the polygon.
- Returns:
- signed_area
float Signed area of the polygon.