Distance and surface measurements