Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public static void RayWithSegment(
    ref EdgeD ray,
    ref EdgeD segment,
    out double rayL,
    out double segmentL
)

Summary

Calculates the intersection of a ray with a segment. Returns the result as the lambdas of the intersection point along the ray and the segment. If there is no intersection returns double.NaN in both lambdas.