AutoMovie API
    Preparing search index...

    Interface IAutoMovieSurfaceNetwork

    A surface built from sweeps and curves and divided into four-sided patches, which sampleAutoMovieSurfaceNetwork samples into one quad control cage at any tier.

    Every patch is a grid in its own coordinates (s, t), both from 0 to 1, and its faces wind counterclockwise seen from outside when s runs to the right and t up. Four rules fill a patch:

    • sweep: a rectangle of one sweep's (u, v) domain, with s along v and t along u. Patches of the same sweep that share a side share its vertices, so a sweep divided into patches around an opening stays one surface; a patch spanning a full turn of v closes on itself.
    • coons: the bilinearly blended Coons patch of four boundary edges, each a network curve or a line of a sweep's domain, for regions bounded by a curve network, such as the ring of patches between a loop and the hole it surrounds. Neighbouring patches that name the same edge share it.
    • bridge: rows of cubic Hermite curves between two closed loops of equal count, leaving the first loop and arriving at the second along stated directions, the explicit rule that blends a branch out of an opening or joins two sweeps.
    • transition: a band of a sweep's domain whose column count changes from its start ring to its end ring by 2-to-1 quad reduction strips, the way a tube gains or sheds columns along its length; extraordinary vertices can still perturb its limit curvature.

    An opening is a region no patch covers. Its boundary stays a boundary of the cage, which a bridge or a ring can then take up. Edges carry their segment count per tier, and a patch's opposite sides must have equal counts, so each tier has one fixed topology whatever the sweeps' shapes. Positions are metres.

    interface IAutoMovieSurfaceNetwork {
        curves?: Record<string, IAutoMovieSurfaceNetwork.ICurve>;
        nodes?: Record<string, IAutoMovieSurfaceNetwork.INode>;
        patches: IAutoMovieSurfaceNetwork.IPatch[];
        rings?: IAutoMovieSurfaceNetwork.IRing[];
        sweeps: Record<string, IAutoMovieSweep>;
    }
    Index
    curves?: Record<string, IAutoMovieSurfaceNetwork.ICurve>

    Curves between nodes, by name; omitted, none.

    nodes?: Record<string, IAutoMovieSurfaceNetwork.INode>

    Points curves start and end at, by name; omitted, none.

    The patches, in the order their faces are emitted; bridges are filled after every other patch.

    Closed loops whose vertices are reported, and optionally pinned, such as a junction a neighbouring part shares; omitted, none.

    sweeps: Record<string, IAutoMovieSweep>

    Sweeps by name.