[API] MinimumDistance as external class