Skip to content

five-on-it / apps/client/src/ui/studio/frame / pointAlong

Function: pointAlong() ​

pointAlong(line, share): object

Defined in: apps/client/src/ui/studio/frame.ts:123

The point a share of a line's length along it, and the line's heading there (a unit vector).

Parameters ​

line ​

readonly Pt[]

share ​

number

Returns ​

object

at ​

at: Pt

heading ​

heading: Pt