Examples
Basic Examples (4)
Fine a line intersection:
Show it:
Line may be used:
A list of two lines may be used:
Scope (4)
Find the intersection of two infinite lines:
Two lines in 3D:
Find their intersection:
Show the lines and the intersection point:
Ten thousand line pairs:
Find the intersections and get timing:
In the documentation for InfiniteLine, the following method is used:
That method is slower:
RegionIntersection may also be used:
That method is also slower:
All three methods give the same results:
Inexact values may be used:
Possible Issues (3)
The lines are considered to be infinite lines, thus the intersection point may not be on the defining segments:
Show it:
Degenerate lines will not return an intersection point:
Parallel lines will not return an intersection point:
Version History
-
1.0.1
– 29 November 2023
-
1.0.0
– 14 June 2022
Related Resources