Determine the distance to the nearest region boundary for all
localizations.
Returns a positive value regardless of weather the point is within or
outside the region.
Parameters:
locdata (LocData) – Localizations for which distances are determined.
region (Region) – Region from which the closest point is selected.