An NDoc Documented Class Library

Curve.Distance Method 

This method calculates the distance of a LineType to a Curve only in case, when the distance is smaller then MaxDist else big will be returned. You can imagine a cylinders with radius MaxDist around the Curve. If now the line goes through the "curved" 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
);

Parameters

L
Line, who will be checked
MaxDist
Maximal distance
param
paramter fo the nearest point in the curve

Return Value

distance

See Also

Curve Class | Minais.Drawing3d.Curves Namespace