geometry
medial
find the medial triangle of a given triangle
Calling Sequence
Parameters
Description
Examples
medial(mT, T, n)
mT
-
the medial triangle to be created
T
triangle
n
(optional) a list of three names denoting the names of three vertices of the medial triangle
The medial triangle mT of triangle T is the triangle formed by joining the midpoints of the sides of triangle T.
If the optional argument is given and is a list of three names, these three names will be assigned to the three vertices of the medial triangle mT
For a detailed description of the medial triangle mT, use the routine detail (i.e., detail(mT))
Note that the routine only works if the vertices of triangle T are known.
The command with(geometry,medial) allows the use of the abbreviated form of this command.
with⁡geometry:
triangle⁡T,point⁡A,0,0,point⁡B,2,0,point⁡C,1,3:
medial⁡mT,T
detail⁡mT
name of the objectmTform of the objecttriangle2dmethod to define the trianglepointsthe three vertices1,0,12,32,32,32
draw⁡T⁡color=blue,mT⁡color=green,style=POINT,axes=NONE,printtext=true
See Also
geometry[midpoint]
geometry[triangle]
Download Help Document