Expand description
Bounds on walks over file-supplied entity references, plus the
large-coordinate threshold every crate gates the RTC re-base on
(LARGE_COORD_THRESHOLD_METERS).
A cap bounds one path’s LENGTH only. A walk that can revisit also needs a cycle guard, and one that fans out over a DAG also needs a work budget; the three are not interchangeable and choosing wrongly fails silently in both directions. The rule for picking, and the scope rule for the visited set, are in AGENTS.md under “Bounding walks over file-supplied references” — there rather than here, because whoever needs it is adding a NEW walk somewhere else and will not open this file.
Enums§
- RtcVerdict
- What an RTC detector concluded about a model’s coordinates. The anchor and the decision travel together because the decision is not a property of the anchor: the placement-bounds scan decides on the bbox CORNERS and answers with the bbox CENTRE, which can be inside the threshold (8.5 km centre, 15 km corner) or even the origin, while the coordinates still need re-basing.
Constants§
- LARGE_
COORD_ THRESHOLD_ METERS - The large-coordinate threshold (metres): a world coordinate whose magnitude exceeds this needs RTC re-basing before it is cast to f32, or the model renders with vertex jitter.
- MAX_
MAPPED_ ITEM_ DEPTH - Maximum
IfcMappedItem→IfcRepresentationMap→MappedRepresentation.Itemsnesting any walk in this workspace will follow. - MAX_
PLACEMENT_ DEPTH - Maximum
IfcLocalPlacement.PlacementRelTochain any walk in this workspace will follow. A chain longer than this composes only its firstMAX_PLACEMENT_DEPTH + 1placements and the rest is dropped — silently, on every site that uses it.
Functions§
- coord_
is_ large - True when any component of
point(metres) lies strictly beyondLARGE_COORD_THRESHOLD_METERSfrom the origin.