See Section 26.8.1 for squares in the plane.
The square command creates squares.
If the arguments var1 and var2 are given, they will be assigned to the new vertices.
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); square(A,B,P) |
A,B,P:=point(0,0,0),point(3,3,3),point(0,0,3); square(A,B,P,C,D); coordinates(C),coordinates(D) |
|