Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the Hessian normal form of a line passing through two given points on the Cartesian plane
ResourceFunction["HessianLine"][pts] returns the Hessian line for pts. |
Find the Hessian line through two points:
In[1]:= |
Out[1]= |
Show the plane, points, origin and normal vector:
In[2]:= |
Out[2]= |
Use HessianLine with symbolic arguments:
In[3]:= |
Out[3]= |
HessianPlane fails if the given points are identical:
In[4]:= |
Out[4]= |
Find the Hessian lines through four points:
In[5]:= |
Out[6]= |
The lines are distinct, so no three points are on a line:
In[7]:= |
Out[7]= |
Two of the lines have the same normal vector, so they are parallel:
In[8]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License