Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: void LineWithLine(ref EdgeD, ref EdgeD, out double, out double)

Declaration

public static void LineWithLine(
    ref EdgeD line1,
    ref EdgeD line2,
    out double line1Lambda,
    out double line2Lambda
)

Summary

Finds the point of intersection of two lines. The result is in terms of lambda along each of the lines. Point of intersection is defined as "line.Start + lambda * line", for each line. If the lines don't intersect, the lambdas are set to NaN.