Method TrySplitBy
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
TrySplitBy(GeoPlane3, out GeoSolid3, out GeoSolid3)
Splits this solid by a plane, using the default tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoSolid3 above, out GeoSolid3 below)
Parameters
Returns
Remarks
The body may be concave and its faces may carry holes. Openings are carried into whichever half they fall in, and one straddling the plane is cut along with the body. A body that closes as Validate(Tolerance) reads it comes apart into two halves that close so too, or the method returns false: a hull 20 across cut 0.0011 inside a face, at the default tolerance, gives a slab of 0.022 cubic millimetres, closed.
TrySplitBy(GeoPlane3, out GeoSolid3, out GeoSolid3, Tolerance)
Splits this solid by a plane, within a tolerance.
public bool TrySplitBy(GeoPlane3 cutter, out GeoSolid3 above, out GeoSolid3 below, Tolerance tolerance)
Parameters
Returns
Remarks
The body may be concave and its faces may carry holes. Openings are carried into whichever half they fall in, and one straddling the plane is cut along with the body. A body that closes as Validate(Tolerance) reads it comes apart into two halves that close so too, or the method returns false: a hull 20 across cut 0.0011 inside a face, at the default tolerance, gives a slab of 0.022 cubic millimetres, closed.