Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get the four main points of the Euler line of a triangle
ResourceFunction["EulerLinePoints"][{p1,p2,p3}] returns the circumcenter, centroid, nine-point center and orthocenter of the triangle defined by vertices p1,p2 and p3. |
Find the defining points for the Euler line of three triangle vertices:
| In[1]:= |
| Out[1]= |
Compute points on the Euler line of a 3D triangle:
| In[2]:= |
| Out[2]= |
Show the points and the triangle together:
| In[3]:= | ![]() |
| Out[3]= | ![]() |
A graphic of a triangle with the Euler line (blue), circumcenter|circumcircle|perpendicular bisectors (red), centroid|medians (cyan), nine-point center|circle (brown) and orthocenter|altitudes (green):
| In[4]:= | ![]() |
| Out[4]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License