Geometry 173
isosceles_triangle
Draws an isosceles triangle defined by two of its vertices and
an angle. The vertices define one of the two sides equal in
length and the angle defines the angle between the two sides
of equal length. Like equilateral_triangle, you have
the option of storing the coordinates of the third point into a
CAS variable.
isosceles_triangle(point1, point2, angle)
Example:
isosceles_triangle(GA, GB, angle(GC, GA, GB)
defines an isosceles triangle such that one of the two sides of
equal length is AB, and the angle between the two sides of
equal length has a measure equal to that of ∡ ACB.
isopolygon
Draws a regular polygon given the first two vertices and the
number of sides, where the number of sides is greater than 1.
If the number of sides is 2, then the segment is drawn. You can
provide CAS variable names for storing the coordinates of the
calculated points in the order they were created. The
orientation of the polygon is counterclockwise.
isopolygon(point1, point2, realn), where realn
is an integer greater than 1.
Example
isopolygon(GA, GB, 6) draws a regular hexagon
whose first two vertices are the points A and B.
parallelogram
Draws a parallelogram given three of its vertices. The fourth
point is calculated automatically but is not defined
symbolically. As with most of the other polygon commands,
you can store the fourth point’s coordinates into a CAS
variable. The orientation of the parallelogram is
counterclockwise from the first point.
parallelogram(point1, point2, point3)
Example:
parallelogram(0,6,9+5i) draws a parallelogram
whose vertices are at (0, 0), (6, 0), (9, 5), and (3,5). The
coordinates of the last point are calculated automatically.