UNPKG

@plurid/plurid-engine

Version:
14 lines (13 loc) 607 B
import { /** interfaces */ PluridView, TreePlane, SpaceLocation } from '@plurid/plurid-data'; export declare const computeViewTree: (pages: TreePlane[], view: string[] | PluridView[]) => TreePlane[]; /** * Compute only the view within a given radius around the user. * * @param pages * @param view * @param location */ export declare const computeCulledView: (pages: TreePlane[], view: string[] | PluridView[], location: SpaceLocation, radius?: number) => string[] | undefined; export declare const checkPageInView: (page: TreePlane, location: SpaceLocation, radius: number) => boolean;