intersectionLineLine: Intersection of two lines

View source: R/Intersections.R

intersectionLineLineR Documentation

Intersection of two lines

Description

Return the intersection of two lines.

Usage

intersectionLineLine(line1, line2, strict = FALSE)

Arguments

line1, line2

two Line objects

strict

logical, whether to take into account the extensions of the lines (extendA and extendB)

Value

If strict = FALSE this returns either a point, or NULL if the lines are parallel, or a bi-infinite line if the two lines coincide. If strict = TRUE, this can also return a half-infinite line or a segment.


PlaneGeometry documentation built on Aug. 10, 2023, 1:09 a.m.