Manual

170 Geometry
median_line
Given three points that define a triangle, creates the median
of the triangle that passes through the first point and contains
the midpoint of the segment defined by the other two points.
median_line(point1, point2, point3)
Example:
median_line(0, 8i, 4) draws the line whose equation
is y=2x; that is, the line through (0,0) and (2,4), the midpoint
of the segment whose endpoints are (0, 8) and (4, 0).
parallel
Draws a line through a given point that is parallel to a given
line.
parallel(point,line)
Examples:
parallel(A, B) draws the line through point A that is
parallel to line B.
parallel(3–2i, x+y–5) draws the line through the point
(3, –2) that is parallel to the line whose equation is x+y=5;
that is, the line whose equation is y=–x+1.
perpen_bisector
Draws the perpendicular bisector of a segment. The segment
is defined either by its name or by its two endpoints.
perpen_bisector(segment) or
perpen_bisector(point1, point2)
Examples:
perpen_bisector(GC) draws the perpendicular bisector
of segment C.
perpen_bisector(GA, GB) draws the perpendicular
bisector of segment AB.
perpen_bisector(3+2i, i) draws the perpendicular
bisector of a segment whose endpoints have coordinates (3,
2) and (0, 1); that is, the line whose equation is y=x/3+1.