Distance2d.SegmentSegment Method
Computes the distance between two line segments.
Public Shared Function SegmentSegment( _ |
Optional ByVal checkIntersection As Boolean = true _ |
This language is not supported or no code example is available.
public static double SegmentSegment( |
bool checkIntersection = true |
public static function SegmentSegment( |
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