Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the intersection point of a plane and line
ResourceFunction["PlaneLineIntersection"][plane,line] computes the intersection of the given plane and line. |
Find the intersection of a plane and a line:
| In[1]:= |
| Out[1]= |
Find the intersection using InfinitePlane and InfiniteLine:
| In[2]:= |
| Out[2]= |
An equivalent specification:
| In[3]:= |
| Out[3]= |
Another equivalent specification:
| In[4]:= |
| Out[4]= |
Find the cevians of the circumcenter in a tetrahedron:
| In[5]:= | ![]() |
| Out[6]= |
Show the cevians:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
Find the intersection of a line and one face of the d120:
| In[8]:= | ![]() |
| Out[10]= |
Find intersections for all 120 infinite planes and find the time required:
| In[11]:= |
| Out[11]= |
Find intersections for all 120 planes with RegionIntersection and find the time required:
| In[12]:= | ![]() |
| Out[12]= |
Check for equality:
| In[13]:= |
| Out[13]= |
PlaneLineIntersection returns an empty set if the plane and line are parallel, or the line falls in the plane:
| In[14]:= |
| Out[14]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License