ClosestPoints2d.SegmentSegment Method

Computes the closest points between two arc segments. The resulting lines startpoint will be on l1, and its endpoint on l2. 'checkZeroIntersect' should be true if it's possible the segments intersect (ie. check for zero distance) Setting it to false will speed up the computation.
public static Line2d SegmentSegment( 
   Line2d l1
   Line2d l2
   bool checkZeroIntersect = true 
)

Parameters

l1
Line2d

Required.

l2
Line2d

Required.

checkZeroIntersect
bool

Optional. The default value is true.If set to true, then ; otherwise, .

Return Value

Line2d

.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

In this article

Definition