of.geometry.cut.square ====================== .. raw:: html .. role:: red .. role:: blue **of.**\ :red:`geometry.cut.square` :blue:`*new_geometry_tag*` :blue:`*object_geometry_tag*` :blue:`*region*` 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: 1. [xmin. xmax. ymin, ymax] 2. x [xmin, xmax] y [ymin, ymax] 3. xmin value xmax value ymin value ymax value | Example: -------------------------------------------------------------------- .. code-block:: of.geometry.cut.square [tunnel] [rock] x [0 1] y [0 1] .. figure:: ../../../images/User_Guide/Square_Cut.png :alt: Square :align: center :scale: 60%