Click or drag to resize
AB4D logo

BooleanMesh3D Class

BooleanMesh3D class can be used to create a MeshGeometry3D with using Boolean operations. The BooleanMesh3D caches the internal objects and is therefore much faster then MeshBooleanOperations class when using multiple Boolean operations on one mash. Also the MeshGeometry3D is not generated after each Boolean operation but only after the user calls the Geometry property getter.
Inheritance Hierarchy
SystemObject
  Ab3d.MeshesBooleanMesh3D

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class BooleanMesh3D

The BooleanMesh3D type exposes the following members.

Constructors
 NameDescription
Public methodBooleanMesh3D Constructor
Top
Properties
 NameDescription
Public propertyGeometry Gets the MeshGeometry3D that is created after the Boolean operations were executed.
Top
Methods
 NameDescription
Public methodIntersect(BooleanMesh3D) Updates this BooleanMesh3D so that it be defined as an intersection of this BooleanMesh3D and the specified BooleanMesh3D. The generated MeshGeometry3D can be get from the Geometry property.
Public methodIntersect(MeshGeometry3D, Transform3D) Updates this BooleanMesh3D so that it be defined as an intersection of this BooleanMesh3D and the specified MeshGeometry3D. The generated MeshGeometry3D can be get from the Geometry property.
Public methodSubtract(BooleanMesh3D, Boolean) Subtracts the specified booleanMesh3D from this BooleanMesh3D. The generated MeshGeometry3D can be get from the Geometry property.
Public methodSubtract(MeshGeometry3D, Transform3D, Boolean) Subtracts the specified MeshGeometry3D from this BooleanMesh3D. The generated MeshGeometry3D can be get from the Geometry property.
Public methodUnion(BooleanMesh3D) Updates this BooleanMesh3D with merging it with the specified BooleanMesh3D. The generated MeshGeometry3D can be get from the Geometry property.
Public methodUnion(MeshGeometry3D, Transform3D) Updates this BooleanMesh3D with merging it with the specified MeshGeometry3D. The generated MeshGeometry3D can be get from the Geometry property.
Top
See Also