Example
Line Intersection of a Polygon
geometric.lineIntersectsPolygon(line, polygon) returns an array of points where a line intersects a polygon. If the line does not intersect the polygon, it returns null.
Drag either point to see how the intersection changes with the line.
Intersects
true
Code