Class SweptableUtil
Util for Sweptable.
public static class SweptableUtil
- Inheritance
-
SweptableUtil
- Inherited Members
Methods
RemoveBySweepingVolume(CubeTree, IGetSweptable, Mat4d, Mat4d, double, double, bool, bool)
Remove volume by sweeping volume.
public static UnmanagedSubstraction RemoveBySweepingVolume(this CubeTree cubeTree, IGetSweptable sweptable, Mat4d beginMat, Mat4d endMat, double preferredCubeWidth = 0, double fractionTolerance = 0, bool enableBuildingContactContours = false, bool isAggressiveCut = false)
Parameters
cubeTree
CubeTreegeom to be volume-removed
sweptable
IGetSweptableswaptable
beginMat
Mat4dprevious transformation matrix in sequence
endMat
Mat4dcurrent transformation matrix in sequence
preferredCubeWidth
doublepreferred cube width for the operation, defaults to cubeTree's resolution if 0
fractionTolerance
doublefraction tolerance for the sweptable, defaults to preferredCubeWidth * 1e-4 if 0
enableBuildingContactContours
boolenable building contact contours
isAggressiveCut
boolwhether to use aggressive cutting mode
Returns
- UnmanagedSubstraction
Removal