Skip to main content

Function: isClosed()

isClosed(points): boolean

Defined in: src/utils/bezier.ts:271

Whether the spline is closed: its first and last points are close enough to be the same, using Manim CE's rtol = 1e-5, atol = 1e-8 over 3 coordinates.

Parameters​

points​

number[][]

Returns​

boolean