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
ModelANwcDocument-
First contributing model.
MeshANwcMesh-
Clashing mesh from the first model.
ModelBNwcDocument-
Second contributing model.
MeshBNwcMesh-
Clashing mesh from the second model.
IntersectionBoxBoundingBox3d-
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
Id
Gets the unique identifier of this clash instance.
public Guid Id { get; init; }Property Value
IfcGuidA
Gets the 22-character buildingSMART IFC GlobalId of the first clashing element.
public string IfcGuidA { get; }Property Value
IfcGuidB
Gets the 22-character buildingSMART IFC GlobalId of the second clashing element.
public string IfcGuidB { get; }Property Value
IntersectionBox
Axis-aligned bounding box of the geometric overlap volume.
public BoundingBox3d IntersectionBox { get; init; }Property Value
MeshA
Clashing mesh from the first model.
public NwcMesh MeshA { get; init; }Property Value
MeshB
Clashing mesh from the second model.
public NwcMesh MeshB { get; init; }Property Value
ModelA
First contributing model.
public NwcDocument ModelA { get; init; }Property Value
ModelAName
Display name of ModelA.
public string ModelAName { get; }Property Value
ModelB
Second contributing model.
public NwcDocument ModelB { get; init; }Property Value
ModelBName
Display name of ModelB.
public string ModelBName { get; }Property Value
Title
Gets a human-readable display title for this clash.
public string Title { get; }Property Value
Volume
Gets the volume of the intersection bounding box in cubic units.
public double Volume { get; }