-
Input:
is_parallelogram([0,0,0],[2,0,0],[3,1,0],[1,1,0])
Output:
- Input:
is_parallelogram([-1,0,0],[0,1,0],[2,0,0],[0,-1,0])
Output:
- Input:
P:= parallelogram([0,0,0],[2,0,0],[1,1,0]) |
is_parallelogram(P)
|
Output:
- Note that
Input:
P:= parallelogram([0,0,0],[2,0,0],[1,1,0],D)
defines P to be a list consisting of the parallelogram and
the point D; to test if the object is a parallelogram, the
first component of P needs to be tested.
Input:
is_parallelogram(P[0])
Output:
- Input:
is_parallelogram([-1,0,0],[0,1,0],[2,0,0],[0,-1,0])
Output: