spatial-monorepo / wayfinding/src / MultiFloorRouteResult
Type Alias: MultiFloorRouteResult
MultiFloorRouteResult = {
found:true;route:Route;rungsUsed:string[]; } | {found:false;reason:"no-floor-path"|"no-route"|"origin-outside-grid"|"destination-outside-grid"; }
Defined in: packages/wayfinding/src/grid-types.ts:415
Union Members
Type Literal
{ found: true; route: Route; rungsUsed: string[]; }
Type Literal
{ found: false; reason: "no-floor-path" | "no-route" | "origin-outside-grid" | "destination-outside-grid"; }
found
found:
false
reason
reason:
"no-floor-path"|"no-route"|"origin-outside-grid"|"destination-outside-grid"
'no-floor-path': the floor-connectivity graph has no route between the origin/destination levels at all (no portal chain connects them). 'no-route': a floor chain exists but every portal-pair branch failed to produce a full route (dead-end on some floor segment). 'origin-outside-grid' / 'destination-outside-grid': single-floor case only — propagated directly from the underlying ladder router.
