geometry
orthocenter
compute the orthocenter of a triangle
Calling Sequence
Parameters
Description
Examples
orthocenter(H, g)
H
-
the name of the orthocenter
g
triangle
The orthocenter of triangle g is the point of intersection of the three altitudes of g
For a detailed description of the orthocenter H, use the routine detail (i.e., detail(H))
Note that the routine only works if the vertices of the triangle are known.
The command with(geometry,orthocenter) allows the use of the abbreviated form of this command.
with⁡geometry:
ps≔point⁡A,0,0,point⁡B,2,0,point⁡C,1,3:
triangle⁡ABC,ps
ABC
orthocenter⁡H,ABC
coordinates⁡H
1,13
See Also
geometry[altitude]
geometry[point]
geometry[triangle]
Download Help Document