Example

Line Intersection

geometric.lineIntersection(a, b) returns the point where line a intersects line b. If the lines do not intersect, it returns null.

Drag either point to see how the intersection changes with the line.

Intersects

true

Code