AutoMovie API
    Preparing search index...

    Type Alias IAutoMovieGeometryResult

    IAutoMovieGeometryResult:
        | { kind: "distance"; meters: number }
        | {
            height: number;
            kind: "ground";
            surface: string | null;
            walkable: boolean;
        }
        | {
            kind: "measurement";
            values: Record<string, number | string | boolean>;
        }

    Compact result of measuring the current compiled geometry through a production query.

    Type Declaration

    • { kind: "distance"; meters: number }
      • kind: "distance"

        Distance in meters.

      • meters: number

        Measured value.

    • { height: number; kind: "ground"; surface: string | null; walkable: boolean }
      • height: number

        Surface height in world meters; zero when no surface contains the point.

      • kind: "ground"

        Ground sample.

      • surface: string | null

        Matching surface id, or null.

      • walkable: boolean

        Whether the surface is walkable.

    • { kind: "measurement"; values: Record<string, number | string | boolean> }
      • kind: "measurement"

        Generic current-compile measurement.

      • values: Record<string, number | string | boolean>

        Query-specific named metrics; each metric's units and meaning belong to that query.