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: 10.1.8147.1045
Syntax
C#
public static MeshGeometry3D Union(
	MeshGeometry3D mesh1,
	MeshGeometry3D mesh2,
	bool processOnlyIntersectingTriangles = true
)

Parameters

mesh1
Type: System.Windows.Media.Media3DMeshGeometry3D
mesh1 as MeshGeometry3D
mesh2
Type: System.Windows.Media.Media3DMeshGeometry3D
mesh2 as MeshGeometry3D
processOnlyIntersectingTriangles (Optional)
Type: SystemBoolean
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

Type: MeshGeometry3D
Merged MeshGeometry3D
See Also