Mesh.op_BitwiseAnd
Mesh BitwiseAnd operator
Calculate the intersection of two meshes
public static Mesh operator &(Mesh a, Mesh b)
Parameter | Type | Description |
---|---|---|
a | Mesh | First mesh |
b | Mesh | Second mesh |
Return Value
Result mesh
Examples
The following code shows how to calculate the difference of two meshes:
var box1 = new Box(10, 10, 1).ToMesh();
var box2 = new Box(1, 1, 10).ToMesh();
Mesh merged = box1 & box2;
See Also
- class Mesh
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D
- Tutorial - Boolean operations on meshes