five-on-it / packages/world/src/pavements / PAVEMENT
Variable: PAVEMENT
constPAVEMENT:object
Defined in: packages/world/src/pavements.ts:35
The numbers the pavements are laid out by (m).
Type Declaration
clearance
readonlyclearance:0.4=0.4
Clear of walls by this much.
cornerReach
readonlycornerReach:14=14
A corner joins pavement ends this near each other.
crossingBack
readonlycrossingBack:2=2
A crossing lies this far back from a junction's box.
crossingReach
readonlycrossingReach:3.5=3.5
A crossing finds its kerb nodes this near where they should be.
doorOut
readonlydoorOut:1.2=1.2
A door stands this far in front of its building.
doorReach
readonlydoorReach:6=6
A door is linked to a node at most this far away.
merge
readonlymerge:1.5=1.5
Nodes closer than this are one.
offset
readonlyoffset:2.2=2.2
How far beyond a road's edge people walk.
probe
readonlyprobe:1.5=1.5
The checks along a link are this far apart.
rise
readonlyrise:0.8=0.8
The ground beside a road may stand this much above or below it…
roadMargin
readonlyroadMargin:0.8=0.8
Kept off every carriageway by this much.
shifts
readonlyshifts: readonly [0,0.9,-0.9,1.8]
Where a node stands when something is in the way at the offset: so much farther out (or in).
slope
readonlyslope:0.25=0.25
…and slope this much (rise per metre).
step
readonlystep:6=6
Between two nodes along a road.