AutoMovie API
    Preparing search index...

    Interface IAutoMovieAnalysisWorkplane

    A grid of measurement points on one plane, rectangular when its two axes are perpendicular.

    The grid is stated in the plane's own axes rather than in world axes, so a sloped roof light, a tilted desk and a wall panel are all one shape. Samples sit at cell centres, which is what keeps a 1x1 grid a measurement of the middle of the plane instead of a measurement of its corner.

    A plane has two faces and only one of them is measured: the one the right-handed cross product of axisU and axisV points toward. Swapping the two axes, or reversing either, measures the other face, which is the difference between a desk that reads the sky and a desk that reads the floor. The order is a declaration rather than a detail, so it is never inferred from which answer looks brighter.

    Both axes are normalized before use, so their lengths do not matter, and they are not orthogonalized: two non-perpendicular axes give a parallelogram grid. A grid may hold at most AUTOMOVIE_ANALYSIS_MAX_SAMPLES cells.

    interface IAutoMovieAnalysisWorkplane {
        axisU: IAutoMovieVector3;
        axisV: IAutoMovieVector3;
        countU: number;
        countV: number;
        origin: IAutoMovieVector3;
        sizeU: number;
        sizeV: number;
    }
    Index

    In-plane direction the first axis runs along; finite, non-zero, normalized.

    In-plane direction the second axis runs along; finite, non-zero, not parallel to axisU, normalized before use. cross(axisU, axisV) is the face light is gathered on.

    countU: number

    Cells along axisU; a safe integer at or above one.

    countV: number

    Cells along axisV; a safe integer at or above one.

    World-space corner the grid grows from, in metres; every axis finite.

    sizeU: number

    Extent along axisU in metres; finite and strictly positive.

    sizeV: number

    Extent along axisV in metres; finite and strictly positive.