IFClite TypeScript API
    Preparing search index...

    Function createCrsEngine

    @ifc-lite/geo — headless CRS engine.

    Resolve a CRS, convert points to and from WGS84, read grid convergence and point scale, and look up the EGM96 geoid undulation. Works in Node and the browser, and makes no network request unless the host installs a loader.

    The definition-string functions the viewer builds on are the separate @ifc-lite/geo/proj4 entry; reading a WKT without resolving it is @ifc-lite/geo/wkt.

    • Make an engine with its own loaders and its own caches. Definitions and datum grids it resolves are not shared with the default engine (resolveCrs) or any other engine, and theirs are not visible to it, so a server can resolve for several tenants with different loaders side by side. Keep the engine for as long as its loaders apply: each one loads a grid once and keeps it.

      Parameters

      Returns CrsEngine