Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

PlaneGeometry (version 1.3.1)

intersectionLineLine: Intersection of two lines

Description

Return the intersection of two lines.

Usage

intersectionLineLine(line1, line2, strict = FALSE)

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.

Arguments

line1, line2

two Line objects

strict

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