compute segmented cloud's distance to polygon based on convex polygon assumption