IFClite TypeScript API
    Preparing search index...

    Interface ModelGeoreference

    What the check knows about the model's georeferencing, and how it maps points.

    interface ModelGeoreference {
        crs: string;
        eastings: number;
        horizontalScale: number;
        lengthUnitScale: number;
        northings: number;
        orthogonalHeight: number;
        rotationDegrees: number;
        scaleBasis: "schema" | "unit-bridged" | "units-agree" | "explicit-scale";
        source: NonNullable<
            | "mapConversion"
            | "rigidOperation"
            | "ePSetMapConversion"
            | "siteLocation"
            | undefined,
        >;
        verticalDatum: string
        | null;
        toMap(local: Vec3): Vec3;
    }
    Index
    crs: string

    Normalised target CRS, for example EPSG:2056.

    eastings: number

    Map position of the local origin, metres.

    horizontalScale: number

    Local raw unit → map metres, horizontally.

    lengthUnitScale: number

    Project length unit in metres.

    northings: number
    orthogonalHeight: number
    rotationDegrees: number

    Counter-clockwise angle from map east to local X, degrees.

    scaleBasis: "schema" | "unit-bridged" | "units-agree" | "explicit-scale"

    How the scale was decided.

    source: NonNullable<
        | "mapConversion"
        | "rigidOperation"
        | "ePSetMapConversion"
        | "siteLocation"
        | undefined,
    >
    verticalDatum: string | null

    The vertical datum the model states (IfcProjectedCRS.VerticalDatum), verbatim; null when not stated.

    • Map raw local coordinates (file length unit) to map metres [E, N, H].

      Parameters

      • local: Vec3

      Returns Vec3