@openhps/geospatial
    Preparing search index...

    Interface SnapToSpaceOptions

    Options for [[snapToSpace]].

    interface SnapToSpaceOptions {
        filter?: (space: SymbolicSpace<any>) => boolean;
        maxDistanceMeters?: number;
    }
    Index
    filter?: (space: SymbolicSpace<any>) => boolean

    Restrict the candidate spaces, for example to one floor or to walkable spaces only.

    maxDistanceMeters?: number

    Do not snap when the nearest space boundary is farther than this (default 10 m).