import { type Pt, type RealShell, type StandRing } from "./crowd.ts"; import { type Plane, type Upright, type V3 } from "./turn.kit.ts"; /** How far a lid rises from its edge towards the middle, in feet (ours: the sources give a roof's kind, not its height). */ export declare const LID_RISE = 22; /** How far a barrel vault's crown stands over its springing at the long sides, in feet (ours: the article says the roof looks like a Quonset hut, not how high it rises). */ export declare const BARREL_RISE = 34; /** The barrel vault's share of its rise at a point (0 at the springing along each long side, 1 over the middle line): a round arch over the building's short axis, the quarter of a circle's rise at each step in from the side. */ export declare function barrelAt(real: Pick, [, y]: Pt): number; /** The height of the roof over a point of the building's edge, above the surface, in feet. */ export declare const roofAt: (real: RealShell, p: Pt) => number; /** The height of the wall of a building under canopies at a point of its rim: where a canopy is over it, the canopy's back edge, which the wall carries up to (the outside of Lumen Field's roofs is one curved face to the ground); elsewhere the rim's own height. */ export declare function wallAt(real: RealShell, p: Pt): number; /** * A tower that leans and curves: a shaft of horizontal sections, a square of rising width at its foot narrowing to its top, that leans over the building. Its foot is at the building's rim (where the mapped axis crosses it, `rim` feet * from the top along the axis), its front, the steep face that looks at the building, runs from there to the top, and its back, the face that looks away and up, sweeps down from the top in a long curve that flattens to the ground * far behind the foot. On the top stands the observatory, a dark block with a band of glass, and, with `cables`, thin lines run from it to the roof. Every face of a ring is a trapezoid on a plane through its corners, so the faces * meet along their edges. The foot, the top and the height are the sources' (the map's funicular line and the article's inclination); the curve, the widths, the slits and the observatory are ours. */ export declare function towerPlanes(tower: NonNullable, z: number, cables?: V3[], rim?: number): Plane[]; /** The point where a ray from `from` first meets a polygon, or `undefined`. */ export declare function firstHit(poly: readonly Pt[], from: Pt, angle: number): Pt | undefined; /** How tall the glazed concourse band over a podium is, in feet (ours). */ export declare const GLAZING = 14; /** The point of the hall's rim at an angle from the middle: where a ray meets the hall's outline or the building's, whichever it meets first. */ export declare function rimPoint(real: Pick, c: Pt, angle: number): Pt; /** How far a mast leans out from the vertical, in degrees (ours: the sources give the count and the height of BC Place's masts, and the photographs of the building show them leaning out from the rim). */ export declare const MAST_LEAN = 12; /** How thick a mast is drawn, in feet (ours). */ export declare const MAST_WIDTH = 6; /** * The masts of a cable roof: `count` of them round the rim, each rising from the rim at the roof's edge, `height` feet, leaning out from the middle. A mast is two thin strips crossed, one in the plane of the slant and the * radius and one in the plane of the slant and the tangent, so that it is seen from every side (as a post is). The count and the height are the sources'; the lean and the thickness are ours. */ export declare function mastPlanes(real: Pick, c: Pt, z: number, masts: { count: number; height: number; }): Plane[]; /** * The walls and the roof of a real venue (`parts` says which are made). The hall is the building's outline cut to the bowl's wall and a margin (`RealShell.hall`): its rim is where a ray from the middle meets the one or the other first, in `steps` * rays. A wall stands on each stretch of the rim, up to the roof's height over it; the roof is a band from the rim in to the inner edge of the top tier (the middle stays open, as the 3D view's roofs are). */ export declare function realBuilding(real: RealShell, top: StandRing | undefined, centre: readonly [number, number], lift: number, steps: number, open?: boolean, parts?: { walls: boolean; roof: boolean; }): Items; /** How far a skylight cap stands over the inner edge of the roof's band, and how wide the skylight bar is, in feet (ours: the sources do not say how high the roof closes or how wide the glass is). */ export declare const CAP_RISE = 7; export declare const SKYLIGHT_WIDTH = 14; /** The share of the opening's length the skylight bar runs over, from the middle each way. */ export declare const SKYLIGHT_SHARE = 0.78; /** How far a canopy's low edge, the field's side of it, stands under its high edge: the OpenStreetMap roof's `roof:height` is the rise, and the canopy rises to the back of the stands (ours: the sources do not say which way it slopes). */ export declare const CANOPY_NOTE = "low over the field, high over the back of the stands"; /** How many strips a canopy is cut into from the field's side to the back, so that a curved roof is a curve (ours: the drawing's pieces are flat). */ export declare const CANOPY_STRIPS = 3; /** From this many rays round the middle on, a canopy is cut by every other one. */ export declare const CANOPY_FINE = 48; /** The share of a canopy's rise at a share of the way from the field's side to the back: a straight slope, or for OpenStreetMap's `roof:shape=round` a convex arc, a quarter of a circle, steep at the field's edge and levelling over the back of the stands. */ export declare function canopyRiseAt(shape: string | undefined, t: number): number; /** How wide the scoreboard on a tower's face is and how tall, as shares of the face, and how far it stands out from it, in feet (ours: the article says the scoreboard is vertical, not how large). */ export declare const TOWER_BOARD: { readonly wide: 0.62; readonly tall: 0.46; readonly from: 0.55; readonly out: 0.4; }; /** * A tower standing apart from the bowl: a box on its outline, four faces and a flat top, that gives way to the eye as a wall does (a tall tower between the eye and the field is cut away, whole from above), with the scoreboard * on the face towards the field, a dark panel high on it and divided into its rows of lamps. */ export declare function endTowerPlanes(tower: NonNullable[number], index: number, lift: number, centre: Pt): Plane[]; /** How many rings of pieces an air-supported roof is drawn in, from the rim in to the crown (ours: the roof is smooth, the drawing is faceted). */ export declare const DOME_RINGS = 4; /** How wide a rail girder is, how thick, how wide a column under it is, and how many columns stand under each rail, in feet (ours: the article says the roof runs on rails on the north and the south side, not what holds them up). */ export declare const RAIL: { readonly wide: 12; readonly thick: 16; readonly column: 15; readonly columns: 4; readonly inset: 24; }; /** * The rails a retractable ballpark roof runs on, along its north and south sides (the article: 128 wheels on rails there), as two girders at the roof's lowest height, each on a row of columns from the ground, and running * on over the strip where the sections rest. The rails run the way the sections park, from the cover's middle to where they rest; a girder lies a little inside each side of the cover. */ export declare function panelRails(panels: NonNullable, c: Pt, lift: number): Plane[]; /** The pod in the middle of a cable roof's opening, as a share of the opening's size, and how thick it is, in feet (ours: the article says the fabric gathers into a pod above the video board, not how large it is). */ export declare const POD: { readonly share: 0.24; readonly thick: 9; }; type Items = Upright[]; export {};