@expofp/floorplan
Version:
Interactive floor plan library for expos and events
13 lines • 663 B
TypeScript
import type { RouteEndpoint } from '@expofp/wayfinding';
import type { BoothSource } from '../storePorts';
/**
* Converts an efp booth to a neutral {@link RouteEndpoint}. The booth's
* (possibly rotated) rectangle becomes a 4-vertex polygon used by the engine
* as a containment region for graph-point lookup.
*
* `booth.rotate` is stored positive-clockwise (y-down) after Task 4, matching
* the geometry package convention, so it feeds the geometry Rect directly.
* Corner order is top-left, top-right, bottom-right, bottom-left.
*/
export declare function boothToEndpoint(booth: BoothSource): RouteEndpoint;
//# sourceMappingURL=boothToEndpoint.d.ts.map