Skip to content

five-on-it / packages/sim/src/nails / LaidStrip

Interface: LaidStrip ​

Defined in: packages/sim/src/nails.ts:24

A strip laid across a road: its centre (m), the heading of the road it crosses (rad, 0 faces +z) and its length (m).

Properties ​

heading ​

heading: number

Defined in: packages/sim/src/nails.ts:29

The heading of the traffic it stops: the strip lies square across it.


length ​

length: number

Defined in: packages/sim/src/nails.ts:31

Its length across the road (m).


x ​

x: number

Defined in: packages/sim/src/nails.ts:25


y ​

y: number

Defined in: packages/sim/src/nails.ts:26


z ​

z: number

Defined in: packages/sim/src/nails.ts:27