Skip to main content

utils.beamsIntersect()

The utils.beamsIntersect() function finds the intersection between two endless lines (beams). Returns a Point object for the intersection, or false if the lines don't intersect.

Signature

Point | false utils.beamsIntersect(
Point A,
Point B,
Point C,
Point D
)

Example

A Utils.beamsIntersect() example