Click or drag to resize
AB4D logo

MeshBooleanOperationsIntersect Method

Returns a new MeshGeometry3D that is created by intersecting mesh1 and mesh2 (space defined by both mesh1 and mesh2).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public static MeshGeometry3D Intersect(
	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
Intersected MeshGeometry3D
See Also