This method calculates the distance between the array and a line only in case the distance is smaller than MaxDist. Otherwise Utils.big will be returned. Imagine a cylinder with radius MaxDist around the polygon. If the line goes through the one of the cylinder, then the distance will be calculated and returned.

Overload List

This method calculates the distance between the array and a line only in case the distance is smaller than MaxDist. Otherwise Utils.big will be returned. Imagine a cylinder with radius MaxDist around the polygon. If the line goes through the one of the cylinder, then the distance will be calculated and returned.

Calculates the distance to a Point, if this distance is smaller than MaxDist. Otherwise big will be returned. . Addionally you can define a Periodicity. Points, which differences in the x- or y- coordinate by the periodicity will be identified.