Geom.rectangle()¶
Description¶
A 2D Rectangle constructed in the XOY plane, with its center at [0,0,0].
Syntax¶
Parameters¶
| Parameter | Type | Default Value | Mandatory | Description | 
|---|---|---|---|---|
| a | Number | — | Side of the rectangle along X | |
| b | Number | — | Side of the rectangle along Y | 
Return value¶
| Type | Description | 
|---|---|
| Shape | An object of type Shape, representing a rectangle. |