import { type CrowdStands, type Outline, type Pt, type StandRing } from "./crowd.ts"; import { type Plane } from "./turn.kit.ts"; import { type Cut } from "./venue.geom.ts"; /** The suite level's windows stand between these shares of the way across the facing wall (the bottom is a parapet, the top a ledge), and a pane is about this wide, in feet (ours). */ export declare const SUITE: { readonly from: 0.3; readonly to: 0.82; readonly pane: 7; }; /** The thin floor of the apron lies this far over the surface, in feet, so that it shows over the floor's own drawing. */ export declare const APRON_RISE = 0.06; /** The bench side's furniture, in feet along the boards from the middle of the rink: the timekeeper's table, the penalty boxes either side of it, and each team's bench beyond (ours: the usual layout of a rink, no plan of a real one). */ export declare const BENCH_SIDE: { readonly table: 6; readonly penalty: readonly [8, 20]; readonly bench: readonly [24, 62]; readonly depth: 5; readonly gap: 1.5; readonly height: 3.4; }; /** How much of a bowl's back wall is left where it is between the eye and the surface (the walls of the building take 0.02: the back of a bowl keeps a little of its body). */ export declare const BACK_FADE = 0.08; /** A piece of the concourse floor smaller than this, in square feet, is a sliver a corner leaves (where the hall's rim meets the building's outline): it is left to the floor drawn under it, which has the same dark tone. */ export declare const SLIVER = 80; /** The suite level seen square on: the facing wall of a quad `[inner a, inner b, outer b, outer a]` (the plane's own corners), with a band of windows and a pane to every `SUITE.pane` feet. */ export declare function suiteWall(corners: Pt[]): string; /** The apron: the floor between the playing surface and the first row, a thin dark floor, and where the bowl is an ice rink's the benches, the penalty boxes and the timekeeper's table on the bench side. */ export declare function apronPlanes(stands: CrowdStands, first: StandRing, cut: Cut, lift: number): Plane[]; /** The plan of a ring's back: the outer edge of every strip of a tier that no walk leads on from, as the loop of points the wall is raised on. */ export declare const backEdges: (ring: StandRing, cut: Cut) => Pt[][]; /** The back wall of one bowl: from the floor up to the top row and a coping over it, on each stretch of the edge, painted with its ribs. It gives way to the eye as the walls of the building do, but keeps a little of itself. */ export declare function backWall(id: string, edge: readonly Pt[], top: number, lift: number, centre: readonly [number, number]): Plane[]; /** * The concourse floor behind a bowl: flat quads, painted dark with two lanes, in rays from the middle: from the bowl's outer edge out to the rim of the hall (the nearer of the hall's rounded outline and the * building's own), and from there on out to the building's outline, where the building has annexes beyond the hall (the walls and the roof stand on the hall only; the rest is floor too, not a bare sheet). * The two rings are cut at the rim, so that a wall standing on it is drawn between them in the right order. */ export declare function concourseFloor(id: string, edge: Outline, middle: Pt, rim: (angle: number) => Pt, far: (angle: number) => Pt | undefined, steps: number, lift: number): Plane[]; /** The rim of a real venue's hall along an angle from `middle`: the nearer of the hall's rounded outline and the building's own outline. */ export declare const rimAt: (hall: Outline, footprint: readonly Pt[], middle: Pt) => (angle: number) => Pt;