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

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

Example