Click or drag to resize
AB4D logo

MeshBooleanOperationsUnion Method

Returns a new MeshGeometry3D that is created by merging mesh1 and mesh2 (space defined by either mesh1 or mesh2).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public static MeshGeometry3D Union(
	MeshGeometry3D mesh1,
	MeshGeometry3D mesh2,
	bool processOnlyIntersectingTriangles = true
)

Parameters

mesh1  MeshGeometry3D
mesh1 as MeshGeometry3D
mesh2  MeshGeometry3D
mesh2 as MeshGeometry3D
processOnlyIntersectingTriangles  Boolean  (Optional)
when true (by default) then only triangles from mesh1 that intersect the bounds of mesh2 will be processed by subtraction; other triangles will be copied from the mesh1. This can produce significantly simpler mesh.

Return Value

MeshGeometry3D
Merged MeshGeometry3D
See Also