AutoMovie API
    Preparing search index...

    Interface IAutoMovieHumanSurfaceContext

    Mutable buffers and shared boundary ownership for one body generation.

    interface IAutoMovieHumanSurfaceContext {
        apertures: IAutoMovieHumanBodyApertures.IPrepared[];
        boundaries: Map<string, IAutoMovieHumanSurfaceBoundary>;
        chains: Map<string, IAutoMovieLoftChain>;
        coordinates: number[];
        details: [[number, number, number], [number, number, number]][];
        ends: Map<string, { phases: readonly number[]; ring: number[] }>;
        events: IAutoMovieHumanBranchEvent[];
        holes: Map<
            string,
            {
                cells: number[][];
                charts: Map<number, [number, number]>;
                owners: Map<number, string>;
            },
        >;
        indices: Map<string, number>;
        mesh: IAutoMovieHumanLoftMesh.IContext;
        poles: Map<string, IAutoMovieHumanSurfacePole>;
        rims: Map<string, [number, number, number][]>;
        roots: Map<
            string,
            {
                appendage?: IAutoMovieHumanSurfaceAppendage;
                loop: [number, number][];
                opening?: IAutoMovieHumanBodyApertures.IPrepared;
                span?: string;
            }[],
        >;
        tolerance: number;
    }
    Index

    Opening outlines and seated eyelids prepared once for this generation.

    boundaries: Map<string, IAutoMovieHumanSurfaceBoundary>

    Resolved shared boundaries indexed by chain name and end.

    chains: Map<string, IAutoMovieLoftChain>

    Calibration chains indexed by their source graph identity.

    coordinates: number[]

    Flat chain-index, station-mm and phase-radian triples per generated vertex.

    details: [[number, number, number], [number, number, number]][]

    World boxes [min, max] in mm where a chain's stations are refined to the aperture spacing, for colour boundaries drawn on the skin such as the lips; empty when none.

    ends: Map<string, { phases: readonly number[]; ring: number[] }>

    Root end ring of every appendage chain, in its own phases, once lofted.

    Parent/child contact events.

    holes: Map<
        string,
        {
            cells: number[][];
            charts: Map<number, [number, number]>;
            owners: Map<number, string>;
        },
    >

    Cells a base left out inside its root loops, by base chain name, or by the span key of an opening whose trim spans two chains: each cell's corner vertices in ring order, and every corner's chart point and chain.

    indices: Map<string, number>

    Original calibration index of each chain.

    Skin buffers shared by all chains, in calibration millimetres.

    poles: Map<string, IAutoMovieHumanSurfacePole>

    Calibrated poles indexed by chain name and end.

    rims: Map<string, [number, number, number][]>

    The rim of every opening closed from its trim loop, by the opening's name: the loop's points on its base chain, in loop order, mm.

    roots: Map<
        string,
        {
            appendage?: IAutoMovieHumanSurfaceAppendage;
            loop: [number, number][];
            opening?: IAutoMovieHumanBodyApertures.IPrepared;
            span?: string;
        }[],
    >

    Loops on each base chain, by its name: an appendage's root loop or an opening's trim loop, sampled in the base chart as [station, phase].

    tolerance: number

    Station bisection chord tolerance, millimetres.