has.intersection: If two lines have intersection or no.

View source: R/Utils.R

has.intersectionR 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.


RSD documentation built on June 21, 2025, 5:09 p.m.