Eyeshot 9.0 WinForms API Reference
Intersection(Segment2D,Segment2D,Point2D) Method

WinForms Assembly > devDept.Geometry Namespace > Segment2D Class > Intersection Method : Intersection(Segment2D,Segment2D,Point2D) Method
First line
Second line
Intersection point (when it exists)
Computes the intersection of two 2D segments.
Syntax
'Declaration
 
Public Overloads Shared Function Intersection( _
   ByVal s1 As Segment2D, _
   ByVal s2 As Segment2D, _
   ByRef i0 As Point2D _
) As Boolean
public static bool Intersection( 
   Segment2D s1,
   Segment2D s2,
   out Point2D i0
)

Parameters

s1
First line
s2
Second line
i0
Intersection point (when it exists)

Return Value

True if the intersection exists, false otherwise (parallel or disjoint).
Remarks
If return value is true and i0 is null, the segments are collinear and overlapping.
See Also

Reference

Segment2D Class
Segment2D Members
Overload List