Table of Contents

Class NwcClash

Namespace
NwcIO.Model
Assembly
NwcIO.dll

Represents a spatial clash (geometric intersection or overlap) detected between elements from different models within a federated BIM assembly.

public sealed record NwcClash : IEquatable<NwcClash>

Inheritance

Implements

Inherited Members

Constructors

NwcClash(NwcDocument, NwcMesh, NwcDocument, NwcMesh, BoundingBox3d)

Represents a spatial clash (geometric intersection or overlap) detected between elements from different models within a federated BIM assembly.

public NwcClash(NwcDocument ModelA, NwcMesh MeshA, NwcDocument ModelB, NwcMesh MeshB, BoundingBox3d IntersectionBox)

Parameters

ModelA NwcDocument

First contributing model.

MeshA NwcMesh

Clashing mesh from the first model.

ModelB NwcDocument

Second contributing model.

MeshB NwcMesh

Clashing mesh from the second model.

IntersectionBox BoundingBox3d

Axis-aligned bounding box of the geometric overlap volume.

Properties

Center

Gets the geometric center of the clash intersection box.

public Vector3d Center { get; }

Property Value

Vector3d

Id

Gets the unique identifier of this clash instance.

public Guid Id { get; init; }

Property Value

Guid

IfcGuidA

Gets the 22-character buildingSMART IFC GlobalId of the first clashing element.

public string IfcGuidA { get; }

Property Value

string

IfcGuidB

Gets the 22-character buildingSMART IFC GlobalId of the second clashing element.

public string IfcGuidB { get; }

Property Value

string

IntersectionBox

Axis-aligned bounding box of the geometric overlap volume.

public BoundingBox3d IntersectionBox { get; init; }

Property Value

BoundingBox3d

MeshA

Clashing mesh from the first model.

public NwcMesh MeshA { get; init; }

Property Value

NwcMesh

MeshB

Clashing mesh from the second model.

public NwcMesh MeshB { get; init; }

Property Value

NwcMesh

ModelA

First contributing model.

public NwcDocument ModelA { get; init; }

Property Value

NwcDocument

ModelAName

Display name of ModelA.

public string ModelAName { get; }

Property Value

string

ModelB

Second contributing model.

public NwcDocument ModelB { get; init; }

Property Value

NwcDocument

ModelBName

Display name of ModelB.

public string ModelBName { get; }

Property Value

string

Title

Gets a human-readable display title for this clash.

public string Title { get; }

Property Value

string

Volume

Gets the volume of the intersection bounding box in cubic units.

public double Volume { get; }

Property Value

double