Geom.square()¶
Description¶
A 2D Square in the XOY plane, with its center at [0,0,0].
Syntax¶
Parameters¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
a |
Number |
✔️ Yes | The side of the square |
Return value¶
| Type | Description |
|---|---|
Shape |
An object of type Shape, a square |