Table of Contents

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 IfcBooleanResult

Inheritance

Inherited Members

Constructors

IfcBooleanResult()

public IfcBooleanResult()

IfcBooleanResult(IfcExtrudedAreaSolid, IfcHalfSpaceSolid, IfcBooleanOperator)

public IfcBooleanResult(IfcExtrudedAreaSolid solid, IfcHalfSpaceSolid halfSpace, IfcBooleanOperator op = IfcBooleanOperator.Difference)

Parameters

solid IfcExtrudedAreaSolid
halfSpace IfcHalfSpaceSolid
op IfcBooleanOperator

IfcBooleanResult(IfcMesh, IfcHalfSpaceSolid, IfcBooleanOperator)

public IfcBooleanResult(IfcMesh mesh, IfcHalfSpaceSolid halfSpace, IfcBooleanOperator op = IfcBooleanOperator.Difference)

Parameters

mesh IfcMesh
halfSpace IfcHalfSpaceSolid
op IfcBooleanOperator

Properties

FirstMesh

First operand (base solid or mesh to be clipped/joined).

public IfcMesh? FirstMesh { get; set; }

Property Value

IfcMesh?

FirstRevolved

public IfcRevolvedAreaSolid? FirstRevolved { get; set; }

Property Value

IfcRevolvedAreaSolid?

FirstSolid

public IfcExtrudedAreaSolid? FirstSolid { get; set; }

Property Value

IfcExtrudedAreaSolid?

IsClippingResult

True if this represents an IFCBOOLEANCLIPPINGRESULT (difference with a half-space solid).

public bool IsClippingResult { get; }

Property Value

bool

Operator

public IfcBooleanOperator Operator { get; set; }

Property Value

IfcBooleanOperator

SecondHalfSpace

Second operand (clipping half-space, cutting solid, or joining solid).

public IfcHalfSpaceSolid? SecondHalfSpace { get; set; }

Property Value

IfcHalfSpaceSolid?

SecondMesh

public IfcMesh? SecondMesh { get; set; }

Property Value

IfcMesh?

SecondSolid

public IfcExtrudedAreaSolid? SecondSolid { get; set; }

Property Value

IfcExtrudedAreaSolid?

Methods

ToMesh(string)

Computes the resulting triangulated 3D mesh by applying the CSG clipping operation.

public IfcMesh ToMesh(string meshName = "BooleanResult")

Parameters

meshName string

Returns

IfcMesh