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.
withgeometry:
triangleT,pointA,0,0,pointB,2,0,pointC,1,3:
medialmT,T
detailmT
name of the objectmTform of the objecttriangle2dmethod to define the trianglepointsthe three vertices1,0,12,32,32,32
drawTcolor=blue,mTcolor=green,style=POINT,axes=NONE,printtext=true
See Also
geometry[midpoint]
geometry[triangle]
Download Help Document