has.intersection {RSD} | R Documentation |
If two lines have intersection or no.
Description
It determines if two lines have intersection point or not. The start and end points of both lines have equal first coordinate value (the one corresponds to the x-axis).
Usage
has.intersection(x1, x2, y11, y12, y21, y22)
Arguments
x1 , x2 |
Float values. |
y11 , y12 |
Float values, corresponding to the first line. |
y21 , y22 |
Float values, corresponding to the second line. |
Value
A Boolean.
[Package RSD version 0.2.0 Index]