AutoMovie API
    Preparing search index...

    Interface IAutoMovieMeshDefect

    One topological or shape defect of a triangle mesh, located by the vertices that carry it, as measureAutoMovieMeshDefects lists them.

    A defect is either an edge between two welded corners or one whole triangle, and kind says which. Vertex indices address the measured position buffer as the mesh itself names its corners, before welding, so a consumer can read the positions back without repeating the weld.

    interface IAutoMovieMeshDefect {
        kind: IAutoMovieMeshDefect.Kind;
        vertices: number[];
    }
    Index

    Which defect this is.

    vertices: number[]

    Vertex indices into the measured position buffer: two for an edge kind, three for a triangle kind.

    An edge's pair is the original, unwelded indices of its two ends in the order its first using triangle traverses them. A triangle's three are its own corners in their stored order.