AutoMovie API
    Preparing search index...

    Function selectAutoMovieTriangleRegion

    • Select the connected triangle patch on the inward side of an oriented mesh boundary.

      The boundary lists each vertex once, in the order the selected faces wind: the triangle that traverses boundary edge a -> b in that direction is inside. Selection floods across shared edges from those triangles and never crosses a boundary edge, so it depends on connectivity alone and a pose or a folded projection cannot change which triangles a closed loop encloses.

      The input must have consistently wound manifold edges, every triangle with three distinct vertices. A boundary edge missing from the mesh is refused, a loop that does not separate the surface is refused, and on an open surface the patch may not reach a free edge outside the supplied boundary.

      Parameters

      • props: IAutoMovieSelectTriangleRegion.IProps

        Connectivity selecting the triangle patch on the inward side of an oriented mesh boundary.

        The boundary lists each vertex once, in the order the selected faces wind: the triangle that traverses boundary edge a -> b in that direction is inside. Selection floods across shared edges from those triangles and never crosses a boundary edge, so it depends on connectivity alone and a pose or a folded projection cannot change which triangles a closed loop encloses.

        The input must have consistently wound manifold edges, every triangle with three distinct vertices. A boundary edge missing from the mesh is refused, a loop that does not separate the surface is refused, and on an open surface the patch may not reach a free edge outside the supplied boundary.

        • boundary: readonly number[]

          Borrowed separating loop of at least three distinct vertex identities, without repeating the first; edge a to b selects the incident triangle traversing a to b in the same direction.

        • indices: readonly number[]

          Borrowed triangle vertex identities in triples, nonnegative integers and three distinct per face; shared edges must be manifold and consistently wound. No position-buffer upper bound is available here.

      Returns number[]

      Sorted original triangle ordinals of the patch, suitable for removal without renumbering.

      Error naming the failed requirement when the input or boundary breaks any rule above.