five-on-it / packages/catalogue/src/city/plan / PlanPark
Interface: PlanPark
Defined in: packages/catalogue/src/city/plan.ts:167
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:172
centre
centre:
PlanPoint
Defined in: packages/catalogue/src/city/plan.ts:171
kind
kind:
"green"|"square"|"park"
Defined in: packages/catalogue/src/city/plan.ts:169
name
name:
string
Defined in: packages/catalogue/src/city/plan.ts:168
polygon
polygon:
PlanPoint[]
Defined in: packages/catalogue/src/city/plan.ts:170
things?
optionalthings?:object[]
Defined in: packages/catalogue/src/city/plan.ts:180
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?
optionaltrees?:string[]
Defined in: packages/catalogue/src/city/plan.ts:174
Its trees (kit/id), when the spec names them (its kind's otherwise).