@expofp/floorplan
Version:
Interactive floor plan library for expos and events
15 lines • 368 B
TypeScript
export interface BoundingBox {
x1: number;
y1: number;
x2: number;
y2: number;
}
/**
* Computes the axis-aligned bounding box of a set of points.
* Returns null for an empty array.
*/
export declare function computeBoundingBox(points: ReadonlyArray<{
x: number;
y: number;
}>): BoundingBox | null;
//# sourceMappingURL=routeGeometry.d.ts.map