An NDoc Documented Class Library

xyzArray.Distance Method (LineType, Double, Double, Double)

This method calculates the distance of the array to a line only in case, when the distance is smaller then MaxDist else Utils.big will be returned. You can imagine a cylinders with radius MaxDist around the polygon. If now the line goes through the one of the cylinder, then this is a good one and the distance will be calculated and returned.

public double Distance(
   LineType L,
   double MaxDist,
   out double param,
   out double LineLam
);

Parameters

L
The line, who will be tested
MaxDist
The maximal distance, for what a line a good result returns
param
A value for which the nearset point in the array can evaluated with Value
LineLam
A value for which the nearset point on the line can evaluated

Return Value

In case the distance of the line is smaller then Maxdist, the distance is returned else big

See Also

xyzArray Class | Minais.Drawing3d.Math Namespace | xyzArray.Distance Overload List