|
MeshBooleanOperations Class |
MeshBooleanOperations static class defines methods that can execute subtract, intersect or union operations on 3D models.
Inheritance Hierarchy SystemObject Ab4d.SharpEngine.UtilitiesMeshBooleanOperations Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static class MeshBooleanOperations
The MeshBooleanOperations type exposes the following members.
Methods | Name | Description |
---|
| Intersect |
Returns a new StandardMesh that is created by intersecting mesh1 and mesh2 (space defined by both mesh1 and mesh2).
|
| Subtract(StandardMesh, StandardMesh, Boolean, Boolean) |
Returns a new StandardMesh that is created by subtracting mesh2 from mesh1 (space defined by mesh1 but not inside mesh2).
|
| Subtract(GroupNode, StandardMesh, Transform, Boolean, Boolean) |
Returns a GroupNode that is created by subtracting mesh from all the ModelNodes in the GroupNode.
Note that the children from specified GroupNode may be moved to the returned GroupNode (this happens when they are preserved because they do not intersect with the mesh).
|
| Subtract(ModelNode, StandardMesh, Transform, Boolean, Boolean) |
Returns a ModelNode that is created by subtracting mesh from modelNode (space defined by mesh but not inside modelNode).
The mesh that is defined by modelNode is transformed by optional parentTransform and by ModelNode.Transform.
|
| Subtract(SceneNode, StandardMesh, Transform, Boolean, Boolean) |
Returns a SceneNode that is created by subtracting mesh from all the specified SceneNode (can be GroupNode or node derived from ModelNode).
|
| Union |
Returns a new StandardMesh that is created by merging mesh1 and mesh2 (space defined by either mesh1 or mesh2).
|
TopFields | Name | Description |
---|
| CoplanarEpsilon |
Static float that specifies how much a distance from a position to the triangle plane can be to consider the position to lie on the plane. Default value is 0.001f.
|
TopSee Also