A quadrilateral assignment is a list of 4 variable names followed by the word
parallelogram
, rectangle
or square
and
some optional parameters. If the first variable is already defined as a point,
the quadrilateral is constructed from this point. If not, the point is set to
origin. The optional parameter b is the polar angle of segment AB (default:
0°). Here are all the ways to define a quadrilateral when the second
variable is not already defined as a point:
A B C D parallelogram[(x, y, a [, b])]
A B C D parallelogram(u, v [, b])
A B C D rectangle[(x, y [, b])]
A B C D square[(x [, b])]
Here are all the ways to define a quadrilateral when the first and the second variables are already defined as points:
A B C D parallelogram(x, a)
A B C D rectangle(x)
A B C D square
When the three first variables are already defined as points, one may also use:
A B C D parallelogram
A B C D rectangle
A pentagon assignment is the following command:
A B C D E pentagon(F, x, a)
An hexagon assignment is the following command:
A B C D E F hexagon(G, x, a)
Go to: | Reference index | Previous page | Next page | Concept index | Command index |