Drawing3d documented Class Library

xyArray.Distance Method

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.

public double Distance(LineType,double,out double,out double)

Calculates the distance of a point to the given array

public double Distance(xy)

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.

public double Distance(xy,double,xy,out double)

Calculates the distance to a Point, if this distance is smaller than MaxDist. Otherwise big will be returned.

public double Distance(xy,double,out double)

Calculates the distance to an other xyArray A, if this distance is smaller than MaxDist, otherwise big will be returned

public double Distance(xyArray,double,out double,out double)

Calculates the distance to an other xyzArray A, if this distance is smaller than MaxDist, otherwise big will be returned

public double Distance(xyzArray,double,out double,out double)

See Also

xyArray Class | Drawing3d.Math Namespace