Line.MinimumDistanceTo Method (Line)

LineMinimumDistanceTo Method (Line)

Finds the shortest distance between this line as a finite segment and another finite segment.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public double MinimumDistanceTo(
	Line testLine
)
Public Function MinimumDistanceTo ( 
	testLine As Line
) As Double

Parameters

testLine
Type: Rhino.GeometryLine
A line to test.

Return Value

Type: Double
The minimum distance.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also