Drawing3d documented Class Library

xyArray.Distance(xy, Double, Double) Method

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

[Visual Basic]
Public Overloads Sub Distance( _
   ByVal P As xy, _
   ByVal MaxDist As Double, _
   ByRef Lam As Double _
)
[C#]
public double Distance(
   xy P,
   double MaxDist,
   out double Lam
);

Parameters

P
A Point
MaxDist
Maximal distance
Lam
A value for which the nearest point in the array can evaluated with Value

Return Value

Distance.

See Also

xyArray Class | Drawing3d.Math Namespace | xyArray.Distance Overload List