Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Return the orthocenter of a triangle
ResourceFunction["Orthocenter"][{p1,p2,p3}] returns the orthocenter of the triangle defined by vertices p1,p2 and p3. |
Find the orthocenter of three triangle vertices:
| In[1]:= |
| Out[1]= |
Show the triangle with its orthocenter and altitudes:
| In[2]:= | ![]() |
| Out[2]= | ![]() |
Compute the orthocenter of a 3D triangle:
| In[3]:= |
| Out[3]= |
Show the orthocenter and the triangle together:
| In[4]:= |
| Out[4]= | ![]() |
When four given points comprise a triangle and its orthocenter, and any three of the points are selected as triangle vertices, the remaining point will be the triangle's orthocenter:
| In[5]:= |
| Out[5]= |
| In[6]:= | ![]() |
| Out[6]= |
This work is licensed under a Creative Commons Attribution 4.0 International License