Geometry 177
ellipse
Draws an ellipse, given the foci and either a point on the
ellipse or a scalar that is one half the constant sum of the
distances from a point on the ellipse to each of the foci.
ellipse(point1, point2, point3) or
ellipse(point1, point2, realk)
Examples:
ellipse(GA, GB, GC) draws the ellipse whose foci are
points A and B and which passes through point C.
ellipse(GA, GB, 3) draws an ellipse whose foci are
points A and B. For any point P on the ellipse, AP+BP=6.
excircle
Draws one of the excircles of a triangle, a circle tangent to one
side of the triangle and also tangent to the extensions of the
other two sides.
excircle(point1, point2, point3)
Example:
excircle(GA, GB, GC) draws the circle tangent to BC
and to the rays AB and AC.
hyperbola
Draws a hyperbola, given the foci and either a point on the
hyperbola or a scalar that is one half the constant difference
of the distances from a point on the hyperbola to each of the
foci.
hyperbola(point1, point2, point3) or
hyperbola(point1, point2, realk)
Examples:
hyperbola(GA, GB, GC) draws the hyperbola whose foci
are points A and B and which passes through point C.
hyperbola(GA, GB, 3) draws a hyperbola whose foci
are points A and B. For any point P on the hyperbola, |AP-
BP|=6.