BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    API Namespace Geometry2d is used for 2D geometry related API calls.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • The outline of one model on the map, as WKT and GeoJSON in WGS84.

      Parameters

      • versionUuids: string[]
      • OptionalgeoReference: unknown
      • Optionaltype: "PROJECTION" | "MINIMUM_BOUNDING_RECTANGLE" | "SLICE"
      • Optionalslice: {
            fill_holes?: boolean;
            height_mm?: number;
            mend_distance_mm?: number;
            reference?: "SITE" | "ABSOLUTE" | "LOWEST";
            selection?: "ENVELOPE" | "ALL";
            simplify?: boolean;
            skip_external_spaces?: boolean;
            tolerance_mm?: number;
        }

      Returns Promise<unknown>

      Query the shape with BQL instead, over any set of objects and including holes: client.bim.query([vid], 'GET PROJECTION().geojson("EPSG:4326") AS footprint'), PROJECTION(MINIMUM_RECTANGLE) for the rectangle, SLICE(1200 mm) for a cut; Gis.getGeoReference answers zero_point and bounds_centre.