polygon_area#

madcubapy.utils.polygon_area(vertices)[source]#

Measure the area of a polygon’s vertices.

Parameters:
verticesndarray

Vertices of the polygon.

Returns:
areafloat

Area of the polygon.