Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the Hessian normal form of a plane passing through three given points in space
ResourceFunction["HessianPlane"][pts] returns the Hessian plane for pts. |
Find the Hessian plane through three points:
In[1]:= | ![]() |
Out[1]= | ![]() |
The first three components form a unit vector:
In[2]:= | ![]() |
Out[2]= | ![]() |
Show the plane, points and normal vector:
In[3]:= | ![]() |
Out[3]= | ![]() |
Timing can be faster than RegionDistance in some cases (though usually it is not):
In[4]:= | ![]() |
In[5]:= | ![]() |
Out[5]= | ![]() |
In[6]:= | ![]() |
Out[6]= | ![]() |
In[7]:= | ![]() |
Out[7]= | ![]() |
HessianPlane fails if the given points do not determine a plane:
In[8]:= | ![]() |
Out[8]= | ![]() |
Points of a random tetrahedron centered at the origin:
In[9]:= | ![]() |
Out[9]= | ![]() |
Face planes of the tetrahedron:
In[10]:= | ![]() |
Out[10]= | ![]() |
Incenters of each face, using the resource function Incircle3D:
In[11]:= | ![]() |
Perpendiculars to the incenters do not not intersect, therefore this tetrahedron does not have a midsphere tangent to all edges:
In[12]:= | ![]() |
Out[12]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License