medial - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geometry

  

medial

  

find the medial triangle of a given triangle

 

Calling Sequence

Parameters

Description

Examples

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

withgeometry:

triangleT,pointA,0,0,pointB,2,0,pointC,1,3:

medialmT,T

mT

(1)

detailmT

name of the objectmTform of the objecttriangle2dmethod to define the trianglepointsthe three vertices1,0,12,32,32,32

(2)

drawTcolor=blue,mTcolor=green,style=POINT,axes=NONE,printtext=true

See Also

geometry[midpoint]

geometry[triangle]