Previous Up Next

11.9.5  Arbitrary quadrilaterals in the plane: quadrilateral

The quadrilateral command takes four arguments, points A, B, C and D.

quadrilateral returns and draws the quadrilateral ABCD.
Input:

quadrilateral(0, 1, 1 + i, -1 + 2*i)

Output:


Previous Up Next