AutoMovie API
    Preparing search index...

    Function createBed

    • A bed: a single or a double bed, a mattress on the floor, a hospital bed, a hospital stretcher, a crib or a bunk bed.

      The lying surface is centred over the origin, the head toward -Z. A single or a double bed is a mattress on a base with a headboard, a mattress on the floor the mattress alone; each long side is also a seat, facing out, for sitting on the edge and rising from the bed. A hospital bed, a stretcher, a crib and a bunk bed are built by CareBedConstruction, whose functions say what each adds: a hospital bed's siderails, a crib's top rails, a bunk's upper bed and guardrail.

      A bunk bed rests on its pine posts: wood on concrete (ArchetypeFriction).

      Parameters

      • params: createBed.IParams

        The kind, a loose mattress's size and any dimension the author fixes.

      • Optionalseed: string | number

        The seed that draws a loose mattress's size when it is not given and every dimension left free inside its band; absent, the single size and the middle of each band.

      Returns Archetype<createBed.Affordance, createBed.Dimension>

      The bed.

      For a size named for a bed that has none, a fixed dimension outside its band, or one only another kind has.