The rhombus command takes three mandatory arguments and one or two optional arguments. The three mandatory arguments are two points A and B and a real number a.
rhombus returns and draws the rhombus ABCD, where
a is the counterclockwise angle from AB to
AC.
Input:
Output:
The optional fourth and fifth arguments need to be
variable names which will be assigned to vertices C and
D.
Input:
Output:
Input:
Output: