 |
MeshBooleanOperationsIntersect Method |
Returns a new StandardMesh that is created by intersecting mesh1 and mesh2 (space defined by both mesh1 and mesh2).
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic static StandardMesh? Intersect(
StandardMesh? mesh1,
StandardMesh? mesh2,
bool processOnlyIntersectingTriangles = true
)
Parameters
- mesh1 StandardMesh
- mesh1 as StandardMesh
- mesh2 StandardMesh
- mesh2 as StandardMesh
- 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
StandardMeshIntersected StandardMesh
See Also