Manual

174 Geometry
polygon
Draws a polygon from a set of vertices.
polygon(point1, point2, …, pointn)
Example:
polygon(GA, GB, GD) draws ΔABD
quadrilateral
Draws a quadrilateral from a set of four points.
quadrilateral(point1, point2, point3, point4)
Example:
quadrilateral(GA, GB, GC, GD) draws quadrilateral
ABCD.
rectangle
Draws a rectangle given two consecutive vertices and a point
on the side opposite the side defined by the first two vertices
or a scale factor for the sides perpendicular to the first side.
As with many of the other polygon commands, you can
specify optional CAS variable names for storing the
coordinates of the other two vertices as points.
rectangle(point1, point2, point3) or
rectangle(point1, point2, realk)
Examples:
rectangle(GA, GB, GE) draws a rectangle whose first
two vertices are points A and B (one side is segment AB).
Point E is on the line that contains the side of the rectangle
opposite segment AB.
rectangle(GA, GB, 3, p, q) draws a rectangle whose
first two vertices are points A and B (one side is segment AB).
The sides perpendicular to segment AB have length 3*AB.
The third and fourth points are stored into the CAS variables
p and q, respectively.
rhombus
Draws a rhombus, given two points and an angle. As with
many of the other polygon commands, you can specify
optional CAS variable names for storing the coordinates of
the other two vertices as points.
rhombus(point1, point2, angle)