Class IfcBooleanResult
- Namespace
- IfcIO.Geometry
- Assembly
- IfcIO.dll
Represents a Constructive Solid Geometry (CSG) boolean result or clipping result between solid operands, conforming to buildingSMART IFCBOOLEANRESULT and IFCBOOLEANCLIPPINGRESULT.
public sealed class IfcBooleanResultInheritance
Inherited Members
Constructors
IfcBooleanResult()
public IfcBooleanResult()IfcBooleanResult(IfcExtrudedAreaSolid, IfcHalfSpaceSolid, IfcBooleanOperator)
public IfcBooleanResult(IfcExtrudedAreaSolid solid, IfcHalfSpaceSolid halfSpace, IfcBooleanOperator op = IfcBooleanOperator.Difference)Parameters
solidIfcExtrudedAreaSolidhalfSpaceIfcHalfSpaceSolidopIfcBooleanOperator
IfcBooleanResult(IfcMesh, IfcHalfSpaceSolid, IfcBooleanOperator)
public IfcBooleanResult(IfcMesh mesh, IfcHalfSpaceSolid halfSpace, IfcBooleanOperator op = IfcBooleanOperator.Difference)Parameters
meshIfcMeshhalfSpaceIfcHalfSpaceSolidopIfcBooleanOperator
Properties
FirstMesh
First operand (base solid or mesh to be clipped/joined).
public IfcMesh? FirstMesh { get; set; }Property Value
FirstRevolved
public IfcRevolvedAreaSolid? FirstRevolved { get; set; }Property Value
FirstSolid
public IfcExtrudedAreaSolid? FirstSolid { get; set; }Property Value
IsClippingResult
True if this represents an IFCBOOLEANCLIPPINGRESULT (difference with a half-space solid).
public bool IsClippingResult { get; }Property Value
Operator
public IfcBooleanOperator Operator { get; set; }Property Value
SecondHalfSpace
Second operand (clipping half-space, cutting solid, or joining solid).
public IfcHalfSpaceSolid? SecondHalfSpace { get; set; }Property Value
SecondMesh
public IfcMesh? SecondMesh { get; set; }Property Value
SecondSolid
public IfcExtrudedAreaSolid? SecondSolid { get; set; }Property Value
Methods
ToMesh(string)
Computes the resulting triangulated 3D mesh by applying the CSG clipping operation.
public IfcMesh ToMesh(string meshName = "BooleanResult")Parameters
meshNamestring