 medial - Maple Help

geometry

 medial
 find the medial triangle of a given triangle Calling Sequence medial(mT, T, n) Parameters

 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 Description

 • 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. Examples

 > $\mathrm{with}\left(\mathrm{geometry}\right):$
 > $\mathrm{triangle}\left(T,\left[\mathrm{point}\left(A,0,0\right),\mathrm{point}\left(B,2,0\right),\mathrm{point}\left(C,1,3\right)\right]\right):$
 > $\mathrm{medial}\left(\mathrm{mT},T\right)$
 ${\mathrm{mT}}$ (1)
 > $\mathrm{detail}\left(\mathrm{mT}\right)$
 $\begin{array}{ll}{\text{name of the object}}& {\mathrm{mT}}\\ {\text{form of the object}}& {\mathrm{triangle2d}}\\ {\text{method to define the triangle}}& {\mathrm{points}}\\ {\text{the three vertices}}& \left[\left[{1}{,}{0}\right]{,}\left[\frac{{1}}{{2}}{,}\frac{{3}}{{2}}\right]{,}\left[\frac{{3}}{{2}}{,}\frac{{3}}{{2}}\right]\right]\end{array}$ (2)
 > $\mathrm{draw}\left(\left\{T\left(\mathrm{color}=\mathrm{blue}\right),\mathrm{mT}\left(\mathrm{color}=\mathrm{green}\right)\right\},\mathrm{style}=\mathrm{POINT},\mathrm{axes}=\mathrm{NONE},\mathrm{printtext}=\mathrm{true}\right)$