#[non_exhaustive]pub enum SpatialAnomaly {
ContainedTwice {
element: EntityId,
kept: EntityId,
rejected: EntityId,
relation: EntityId,
},
AggregatedTwice {
child: EntityId,
kept: EntityId,
rejected: EntityId,
relation: EntityId,
},
ContainedInNonContainer {
relation: EntityId,
structure: EntityId,
},
ReferencedInNonContainer {
relation: EntityId,
structure: EntityId,
},
}Expand description
A statement of the file the tree could not honour, recorded instead of silently dropped.
A second parent the schema forbids: both
IfcElement.ContainedInStructure and IfcObjectDefinition.Decomposes
are SET [0:1]. A file naming two parents is malformed; the first
relationship processed wins so the tree stays a tree, and the loser is
reported here. Every view of the tree agrees with the kept answer.
A spatial relationship whose structure is not a spatial container of the release: its elements have nowhere to be listed, so the relationship is reported rather than ignored.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ContainedTwice
An element placed in two different spatial structures.
Fields
AggregatedTwice
A container aggregated by two different parents.
Fields
ContainedInNonContainer
An IfcRelContainedInSpatialStructure whose RelatingStructure is
not a spatial container of the release; its elements are not placed.
Fields
ReferencedInNonContainer
An IfcRelReferencedInSpatialStructure whose RelatingStructure is
not a spatial container of the release; its elements are not listed.