IFClite TypeScript API
    Preparing search index...

    Function roomFramePlanOffsets

    • The render → room-frame plan offsets: ifcX = renderX + cx, ifcY = cy − renderZ.

      The room frame is the MODEL'S OWN IFC frame — ifcLocal = renderLocal + shift with the Y-up→Z-up swap — NOT the georeferenced survey frame. wasmRtcOffset is what the WASM mesh path subtracted when it resolved a site placement that anchors the building to a survey grid; folding it back in here would put the room frame a whole survey offset away from the rendered walls and from the storey band below (see the module docstring for the LV95 measurement that showed this). The anchor is carried by roomFrameToModelWorld instead, for the one consumer that needs the file's own placement-chain coordinates.

      Exported because this is where the room frame is DEFINED, and the bake needs to know which frame that is — see roomFrameToModelWorld.

      Parameters

      Returns { cx: number; cy: number }