Expand description
The one spatial walk the export formats share (D48, EXPORT-DATA-16, C6-10).
Export walks the raw aggregation and containment edges
(ifc_lite_export::relationships().spatial_children), not the server’s
canonical hierarchy. The rule, for every format: pre-order depth first from
the project, children in SOURCE order, and the first parent to reach a node
owns it (a later edge to it is ignored). CSV did this, USD’s recursive
emitter does this, and IFCX walked a stack whose siblings came out
reversed, so the same file listed its nodes in a different order per format.
Structs§
- Spatial
Visit - One node reached by
walk.
Functions§
- walk
- Every node reachable from
root, in pre-order, source order, first parent wins. Iterative, so the depth of a hostile file cannot overflow the stack; each node is visited once, so a cycle ends.