Function: shoelace()
shoelace(
xy):number
Defined in: src/utils/spaceOps.ts:347
2D trapezoidal integral of y over x (ManimCE shoelace); returns the
signed area. Note: this is np.trapezoid(y, x) and does NOT implicitly close
the polygon, unlike signedArea2D in triangulate.ts.
Parameters
xy
number[][]
Returns
number