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 Shared Function SegmentSegment( _ 
ByVal l1 As Line2d, _ 
ByVal l2 As Line2d, _ 
Optional ByVal checkZeroIntersect As Boolean = true _ 
) As Line2d
This language is not supported or no code example is available.
public static Line2d SegmentSegment( 
Line2d l1
Line2d l2
bool checkZeroIntersect = true 
)
This language is not supported or no code example is available.
public:  
static Line2d^ SegmentSegment( 
Line2d^ l1
Line2d^ l2
bool checkZeroIntersect 
)
This language is not supported or no code example is available.
public static function SegmentSegment( 
l1 : Line2d
l2 : Line2d
checkZeroIntersect : boolean 
) : Line2d;
This language is not supported or no code example is available.

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