Finite Element Analysis Toolbox
GEOM_COMBINE_OBJECTS Combine geometry objects.
[ GEOM, NEW_TAG, STAT ] = GEOM_COMBINE_OBJECTS( GEOM, TAG1, TAG2, OP, TOL, IS_WARN ) Combines geometry objects with TAG1 and TAG2 through application of OP, where OP is a string character indicating operation to perform (
& intersect). TOL (default 1e-5) specifies the tolerance for CSG boundary operations. The status return code STAT is zero if the operation has been applied sucessfully, and a positive integer to indicate error. The IS_WARN flag (default false) enables throwing warnings if the geometry objects cannot be combined.