Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: ValueTuple<PointD, double, double> LineWithLineLambda(EdgeD, EdgeD)

Declaration

public static ValueTuple<PointD, double, double> LineWithLineLambda(
    EdgeD line1,
    EdgeD line2
)

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.