AutoMovie API
    Preparing search index...

    Variable trianglesOfConst

    trianglesOf: (
        region: Pick<IAutoMovieRegionTriangulation, "points" | "rings">,
    ) => number[] = ...

    Triangulate a canonical region without changing its point identities.

    The caller supplies finite, nonintersecting rings admitted by canonicalRegion, with the outer ring counter-clockwise and holes clockwise. Hole bridges are traversed in both directions and ears retain collinear boundary subdivisions. The result is a flat counter-clockwise triangle index array into points. Floating-point bridge and ear searches refuse when no candidate is found.

    Type Declaration