pub fn parent_of(model: &Model, child: EntityId) -> Option<EntityId>Expand description
The parent of a cost item, if it is nested.
IfcObjectDefinition.Nests is SET [0:1], so an item has at most one
parent. A file stating two is malformed; the first in file order is
returned, every other view agrees with it, and nesting_anomalies
reports the rejected claim. parents_of still lists every claimant.