Snaps an absolute position to the nearest symbolic space.
Point-in-polygon is tried first (using [[SymbolicSpace.isInside]], with the local metric
polygon as a fallback). A position inside a space keeps its coordinates; a position just
outside is projected onto the nearest boundary. When the nearest boundary is farther than
maxDistanceMeters, the result is null, so a caller does not pretend a fix 50 m outside the
building is on a corridor.
Snaps an absolute position to the nearest symbolic space.
Point-in-polygon is tried first (using [[SymbolicSpace.isInside]], with the local metric polygon as a fallback). A position inside a space keeps its coordinates; a position just outside is projected onto the nearest boundary. When the nearest boundary is farther than
maxDistanceMeters, the result isnull, so a caller does not pretend a fix 50 m outside the building is on a corridor.