subtract
Syntax
Description
Examples
Input Arguments
Output Arguments
Limitations
subtractworks only on 3-D geometries. Usedecsgto subtract 2-D geometries.
Tips
When creating a geometry,
subtractuses the default threshold of 44 degrees for the dihedral angle between adjacent triangles. If the angle between the triangles exceeds the threshold, the edge becomes a topological (feature) edge separating two faces. If the angle does not exceed the threshold,subtractdoes not create a topological edge with two separate faces, unless the function can create the edge based on other criteria. Instead,subtractcreates one face.To use a different feature angle value, create a triangulation object from the resulting geometry
g3, and then convert the object back to anfegeometryobject. Set the value of theFeatureAngleargument as a number between 10 and 90. The specifiedFeatureAnglevalue represents degrees.tr = triangulation(g3); g3 = fegeometry(tr,FeatureAngle=15)
The
triangulationfunction accepts only single-domain geometries, sog3must have one cell.







