PLANTGRID Object
- Last UpdatedMar 28, 2023
- 1 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Position |
POSITION Get/Set |
Origin of the grid. |
|
Orientation |
ORIENTATION Get/Set |
Orientation of the grid. |
|
XSpacings |
REAL ARRAY Get/Set |
Array of spaces in the X direction, each space is relative to the previous. |
|
YSpacings |
REAL ARRAY Get/Set |
Array of spaces in the Y direction, each space is relative to the previous. |
Methods
None of these methods modifies the original object.
|
Name |
Result |
Purpose |
|---|---|---|
|
Plantgrid(POSITION, ORIENTATION, ARRAY, ARRAY ) |
PLANTGRID |
Creates a grid with the given POSITION and ORIENTATION, and the X and Y spacings specified in the arrays. |
|
Xsize() |
REAL |
Maximum size in the X direction. |
|
Ysize() |
REAL |
Maximum size in the Y direction. |
|
OutofBounds(POSITION) |
BOOLEAN |
Returns whether point lies within the grid boundaries. |
