26.6.8 Median of a triangle in the plane
The
median_line
command finds a median line to a triangle.
median_line
takes three arguments:
a
,
b
,
c
, points.
median_line(
a
,
b
,
c
)
returns and draws the median line to the triangle with vertices
a
,
b
,
c
; through
a
and bisecting the segment from
b
to
c
.
Example
T
:=
triangle
(1/2,1+
i
/2,-2/3+
i
,
color
=
blue
);
ml
:=
median_line
(1/2,1+
i
/2,-2/3+
i
)