IFClite TypeScript API
    Preparing search index...

    Interface TerrainWriter

    Terrain/survey authoring, reached through IfcCreator.terrain().

    Every product this writes is contained in the site, not a storey. Terrain and survey points have no storey, and inventing one would place them on a datum the LandXML source never declared — the storey's Elevation is applied to its children, so a fabricated storey silently shifts every coordinate.

    interface TerrainWriter {
        siteId: number;
        addAlignment(params: AlignmentParams): AlignmentResult;
        addPropertySet(productId: number, params: SurveyPropertySetParams): number;
        addSurface(params: TerrainSurfaceParams): TerrainSurfaceResult;
        addSurveyPoint(params: SurveyPointParams): number;
        setGeoreferencing(
            params: GeoreferencingParams,
        ): { crsId: number; mapConversionId: number };
    }
    Index
    siteId: number

    The IfcSite these products are contained in — the anchor for a file-level property set such as the conversion's provenance.

    • Declare the projected CRS and the map conversion from it to this file's engineering coordinates. At most once per file.

      Parameters

      Returns { crsId: number; mapConversionId: number }