of.geometry.cut.polygon#

of. geometry.cut.polygon *new_geometry_tag* <string> *object_geometry_tag* <string> *region* <int, double, double, double, double…>

Cut a geometry in the object by assigning the N <x> <y> <x> <y>… of the polygon.

Parameters:

new_geometry_tag: tag of the geometry group cut from the original geometry.

object_geometry_tag: tag of the original geometry group

region: Define the points on the polygon: N, [x0,y0] [x1,y1], [x2,y2], [x3, y3]…


Example:#

of.geometry.cut.polygon [tunnel] [rock] 4 [-1 -1] [1,-1] [1,1] [-1,1]