Skip to content

Point

Point = object

Defined in: core/src/geometry/point.ts:9

Plane geometry primitives for the fold calculation. Pure functions, no DOM.

The maths derives from StPageFlip’s Helper (MIT, Oleg Litovski). Where the original’s behaviour is quirky, the quirk is kept and commented, because the renderer’s look depends on it and the parity tests in test/fold.parity.test.ts hold this module to the original.

readonly x: number

Defined in: core/src/geometry/point.ts:9


readonly y: number

Defined in: core/src/geometry/point.ts:9