Intersect2d.SegmentSegment (Line2d, Line2d, out Point2d) Method

Computes the point of intersection between two finite line segments.
Public Shared Function SegmentSegment( _ 
ByVal l1 As Line2d, _ 
ByVal l2 As Line2d, _ 
ByRef res As Point2d
) As Boolean
This language is not supported or no code example is available.
public static bool SegmentSegment( 
Line2d l1
Line2d l2
out Point2d res 
)
This language is not supported or no code example is available.
public:  
static bool SegmentSegment( 
Line2d^ l1
Line2d^ l2
Point2d^& res 
)
This language is not supported or no code example is available.
public static function SegmentSegment( 
l1 : Line2d
l2 : Line2d
res : Point2d 
) : boolean;
This language is not supported or no code example is available.

Parameters

l1
Line2d

The first line to intersect.

l2
Line2d

The second line to intersect.

res
Point2d

Set to a new point at the intersection of segements or null if the segments do not intersect.

Return Value

bool

true if the segments intersect, otherwise false.

.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