resolve_stream_meta

Function resolve_stream_meta 

Source
pub fn resolve_stream_meta(
    mode: MetaMode,
    content: &[u8],
    project_id: Option<u32>,
    site_position: Option<(u32, usize, usize)>,
    decoder: &mut EntityDecoder<'_>,
) -> StreamMeta
Expand description

Resolve the full StreamMeta bundle for one pre-pass emission point.

Seeds the caller’s decoder with the resolved unit scales (so nothing downstream re-pays the IFCPROJECT hunt) and leaves it seeded on return. The caller owns emission — this only computes.

Takes no job list: the RTC sample window is the file’s, not the caller’s (see GeometryRouter::detect_rtc_offset_for_file, #4611). mode selects the ladder, which is about what the caller’s decoder can RESOLVE, not about which entities it wants sampled.