Skip to content

spatial-monorepo


spatial-monorepo / core/src / buildWallTopEdgePaths

Function: buildWallTopEdgePaths()

buildWallTopEdgePaths(wallBands): WallTopEdgePathDatum[]

Defined in: packages/core/src/layers/wall-top-edges.ts:81

Builds one deck.gl PathLayer datum per ring (exterior + any interior "picture-frame" hole ring) of every wall-band feature, lofted to that feature's own wall_height. Pure and synchronous — no MapLibre/DOM coupling — safe to call from a Worker as well as the main thread.

Parameters

wallBands

FeatureCollection`<Polygon, WallBandProperties>\|null\|undefined`

Returns

WallTopEdgePathDatum[]

Released under commercial licensing.