Skip to content

five-on-it / packages/catalogue/src/city/plan / PlanPark

Interface: PlanPark ​

Defined in: packages/catalogue/src/city/plan.ts:104

A park, a green or a square: its outline, its middle and the bearing its own frame is turned by (degrees, as on a compass).

Properties ​

bearing ​

bearing: number

Defined in: packages/catalogue/src/city/plan.ts:109


centre ​

centre: PlanPoint

Defined in: packages/catalogue/src/city/plan.ts:108


kind ​

kind: "green" | "square" | "park"

Defined in: packages/catalogue/src/city/plan.ts:106


name ​

name: string

Defined in: packages/catalogue/src/city/plan.ts:105


polygon ​

polygon: PlanPoint[]

Defined in: packages/catalogue/src/city/plan.ts:107


things? ​

optional things?: object[]

Defined in: packages/catalogue/src/city/plan.ts:117

What stands in it, when the spec names anything: a prop (kit/id), where ([u, v], metres toward the park's own east and north from its middle, its frame turned by its bearing) and the way its front faces (a bearing from the park's own north).

at ​

at: [number, number]

face ​

face: number

piece ​

piece: string


trees? ​

optional trees?: string[]

Defined in: packages/catalogue/src/city/plan.ts:111

Its trees (kit/id), when the spec names them (its kind's otherwise).