Click or drag to resize
Ab4d.SharpEngine logo

BooleanMeshSubtract(BooleanMesh, Boolean) Method

Subtracts the specified booleanMesh from this BooleanMesh. The generated mesh can be obtained by calling the GetMesh method.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public void Subtract(
	BooleanMesh booleanMesh,
	bool generateInnerTriangles = true
)

Parameters

booleanMesh  BooleanMesh
BooleanMesh
generateInnerTriangles  Boolean  (Optional)
when true (by default) then the triangles inside the first mesh are generated (this closes the hole that is created by subtraction); when false then no additional inner triangles are generated - only existing triangles are processed in subtraction
See Also