Mesh.op_BitwiseOr
Mesh BitwiseOr operator
Calculate the union 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 union two meshes into one mesh:
var box1 = new Box(10, 10, 1).ToMesh();
var box2 = new Box(1, 1, 10).ToMesh();
var merged = box1 | box2;
See Also
- class Mesh
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D
- Tutorial - Boolean operations on meshes