Skip to content

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

Interface: PlanPark ​

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

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:173


centre ​

centre: PlanPoint

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


kind ​

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

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


name ​

name: string

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


polygon ​

polygon: PlanPoint[]

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


things? ​

optional things?: object[]

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

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:175

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