Rhombuses in the plane

### 26.8.2 Rhombuses in the plane

See Section 27.7.2 for rhombuses in space.

The rhombus command creates rhombuses.

- rhombus takes three mandatory arguments and two optional arguments.
  - A,B, two points.
  - a, a real number.
  - Optionally, varc, vard, two variable names.
- rhombus(A,B,a ⟨,varc,vard ⟩) returns and draws the rhombus ABCD, where a is the counterclockwise angle from AB to AC. If the arguments varc and vard are given, then C and D will be assigned to them.

#### Examples

rhombus(-1-2*i,sqrt(3)+i,pi/3)

rhombus(-1-2*i,sqrt(3)+i,pi/3,C,D)

evalc(affix(C),affix(D))

1
2
| + |
i | ⎛ ⎜ ⎝ | √ |
3
| +8 | ⎞ ⎟ ⎠
2
| , |
−2 | √ |
3
| −1
2
| + |
i | ⎛ ⎜ ⎝ | √ |
3
| +2 | ⎞ ⎟ ⎠
2