@expofp/floorplan
Version:
Interactive floor plan library for expos and events
9 lines • 426 B
TypeScript
import type { Booth } from "../../store/BoothStore";
import type { RouteEndpoint } from "../core";
/**
* 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.
*/
export declare function boothToEndpoint(booth: Booth): RouteEndpoint;
//# sourceMappingURL=boothToEndpoint.d.ts.map