Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: bool SegmentWithSegment(double, double, double, double, double, double, double, double)

Declaration

public static bool SegmentWithSegment(
    double f1x,
    double f1y,
    double t1x,
    double t1y,
    double f2x,
    double f2y,
    double t2x,
    double t2y
)

Summary

If the two specified line segments touch anywhere, returns true. Otherwise returns false. See Remarks.

Remarks

Support for zero-length segments is partial - if one of the segments is of length 0 the result is correct, but if both are the result is always true.