Skip to content

five-on-it / packages/sim/src/seats / seatAt

Function: seatAt() ​

seatAt(vc, seat): object

Defined in: packages/sim/src/seats.ts:76

Where a seat of a class is in the car's frame: across to its left, along forward of its centre (m). A class the models lack seats people a row of two at a time, the driver on the left.

Parameters ​

vc ​

VehicleClass

seat ​

number

Returns ​

object

across ​

across: number

along ​

along: number