Distance2d.SegmentSegment Method
Computes the distance between two line segments.
Public Shared Function SegmentSegment( _
ByVal seg1 As Line2d, _
ByVal seg2 As Line2d, _
Optional ByVal checkIntersection As Boolean = true _
) As Double
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
seg1
-
Line2d
The first line segment.
-
seg2
-
Line2d
The second line segment.
-
checkIntersection
-
bool
Return Value
double
The smallest distance between segments.
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8