AutoMovie API
    Preparing search index...

    Function autoMovieBoundaryShellTriangles

    • The closed solid one boundary's declared face stands for, as world triangles.

      A separation is a slab, not a sheet: the face outline swept along its own outward normal by its stated thickness. Both caps are triangulated so the solid is closed, because a plan cut through an open shell would draw only the two ends of a wall, and an elevation of an open shell would draft both rings where one silhouette belongs.

      The outline may be concave, so the caps are ear-clipped by triangulateAutoMoviePolygon rather than fanned from one corner, which would put triangles outside an L-shaped soffit. Every triangle is wound outward, which the silhouette pass reads as facing. The face must be the validated record: an outline that is not a simple polygon of at least three corners makes the triangulation throw.

      Parameters

      Returns IAutoMovieDrawingTriangle[]

      2n side triangles and 2(n - 2) cap triangles for an n-corner outline, in world metres.