of.geometry.square#
- of.geometry.square *geometry_tag* <string> *region* <double, double, double, double>
Create a geometry by assigning xmin, xmax, ymin and ymax of the box.
- Parameters:
geometry_tag: tag of the geometry group
region: There are three methods to create a square:
[xmin. xmax. ymin, ymax]
x [xmin, xmax] y [ymin, ymax]
xmin value xmax value ymin value ymax value
Example:#
# Method 1
of.geometry.square 'rock' [0 1 0 1]
# Method 2
of.geometry.square [rock] x [0 1] y [0 1]
# Method 3
of.geometry.square [rock] xmin 0 xmax 1 ymin 0 ymax 1