Method TryCutOpenings
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
TryCutOpenings(GeoSolid3, out GeoSolid3)
Turns a body with openings into one without, whose faces are the surface of its material.
public static bool TryCutOpenings(GeoSolid3 solid, out GeoSolid3 material)
Parameters
Returns
TryCutOpenings(GeoSolid3, out GeoSolid3, Tolerance)
Turns a body with openings into one without, whose faces are the surface of its material, within a tolerance.
public static bool TryCutOpenings(GeoSolid3 solid, out GeoSolid3 material, Tolerance tolerance)
Parameters
solidGeoSolid3The body.
materialGeoSolid3The body with every opening cut into it, or the body itself when it has none; null when the method returns false.
toleranceToleranceThe tolerance.
Returns
- bool
true when some material is left; false when the openings take all of it, which is an outcome and not an error, as it is for the booleans.
Exceptions
- ArgumentNullException
Thrown when the body is null.