FEATool  v1.8
Finite Element Analysis Toolbox
 All Files Functions Pages
geom_combine_objects.m File Reference

Description

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 (+ union/join, - subtract, & 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.