Skip to main content

Function: getWindingNumber()

getWindingNumber(points): number

Defined in: src/utils/spaceOps.ts:424

The number of times the polygon points winds around the origin (ManimCE get_winding_number). The orientation is positive counterclockwise.

Parameters​

points​

number[][]

Returns​

number