of.geometry.cut.square#
- of.geometry.cut.square *new_geometry_tag* <string> *object_geometry_tag* <string> *region* <double, double, double, double>
Cut a geometry in existing geometry using the square method.
Note
There are three rules to follow:
rule 1, the object should already exist.
rule 2, the region is for the new geometry.
rule 3, it just cut the object into several parts, but the fragments still have the object tag.
- Parameters:
new_geometry_tag: tag of the geometry group cut from the original geometry.
object_geometry_tag: tag of the original geometry group
region: There are three methods to define a sqaure:
[xmin. xmax. ymin, ymax]
x [xmin, xmax] y [ymin, ymax]
xmin value xmax value ymin value ymax value
Example:#
of.geometry.cut.square [tunnel] [rock] x [0 1] y [0 1]