Skip to content

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

Interface: PlanPark ​

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

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


centre ​

centre: PlanPoint

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


kind ​

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

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


name ​

name: string

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


polygon ​

polygon: PlanPoint[]

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


things? ​

optional things?: object[]

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

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

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