Skip to main content

Interface: Frame

Defined in: packages/sporty/src/frames.ts:9

A source coordinate frame: maps a data row to surface feet. The functions receive a two-key view { x, y } holding the caller's chosen input columns (see toSurfaceFrame), not the full row. Return null for a missing coordinate, never NaN.

Properties​

description​

description: string

Defined in: packages/sporty/src/frames.ts:12


x​

x: (r) => number | null

Defined in: packages/sporty/src/frames.ts:10

Parameters​

r​

Row

Returns​

number | null


y​

y: (r) => number | null

Defined in: packages/sporty/src/frames.ts:11

Parameters​

r​

Row

Returns​

number | null