Method TryUnion
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TryUnion(GeoObb3, out GeoSolid3)
Joins this box to another box.
public bool TryUnion(GeoObb3 other, out GeoSolid3 result)
Parameters
Returns
Remarks
A box is read as the body it bounds, which is exact: six flat faces, no fitting and no approximation. The answer is a GeoSolid3 because a boolean of two boxes is hardly ever a box.
TryUnion(GeoObb3, out GeoSolid3, Tolerance)
Joins this box to another box, within a tolerance.
public bool TryUnion(GeoObb3 other, out GeoSolid3 result, Tolerance tolerance)
Parameters
otherGeoObb3The other box.
resultGeoSolid3The body the two make, or nothing where they make none.
toleranceToleranceThe tolerance.
Returns
- bool
true when the two made a body; otherwise, false.
Exceptions
- ArgumentNullException
Thrown when the other box is null.
TryUnion(GeoSolid3, out GeoSolid3)
Joins this box to a body.
public bool TryUnion(GeoSolid3 other, out GeoSolid3 result)
Parameters
Returns
Remarks
A box is read as the body it bounds, which is exact: six flat faces, no fitting and no approximation. The answer is a GeoSolid3 because a boolean of two boxes is hardly ever a box.
TryUnion(GeoSolid3, out GeoSolid3, Tolerance)
Joins this box to a body, within a tolerance.
public bool TryUnion(GeoSolid3 other, out GeoSolid3 result, Tolerance tolerance)
Parameters
otherGeoSolid3The body.
resultGeoSolid3The body the two make, or nothing where they make none.
toleranceToleranceThe tolerance.
Returns
- bool
true when the two made a body; otherwise, false.
Exceptions
- ArgumentNullException
Thrown when the body is null.