AutoMovie API
    Preparing search index...
    • The exact plane sections of a mesh at stations along one frame axis: each triangle edge crossing the plane dot(p - origin, axis) = station gives its exact crossing point (a vertex on the plane counts as just above it, so a triangle crosses on exactly zero or two edges and no edge lies in the plane). Each triangle's two crossings form one segment; segments are chained through their shared edges into loops. A crossing used by other than two segments is a dangling end, and the sample is flagged "open". The extremes are taken over the crossings, which a polygonal section's extremes always are. An extreme leaving the mean of its two neighbouring stations' by more than the tolerance is flagged as a jump. The outer boundaries join open chains across gaps up to the bridge, each bridged gap flagged "bridged", chains still open flagged "unclosed", and drop the pieces enclosed by another (see ISection.outer).

      Parameters

      • mesh: IAutoMovieMillimeterMesh

        The mesh.

      • frame: IAutoMovieMeshSectionFrame

        The frame.

      • stations: readonly number[]

        Stations along the frame axis, millimetres, in order.

      • axis: 0 | 1 | 2

        Index of the station axis in frame.axes.

      • tolerance: number = 0.5

        Admitted departure of an extreme from its neighbours' mean, millimetres.

      • bridge: number = 25

        Longest gap between chain ends the outer boundaries close, millimetres (25 by default: wider than a mouth slit or a nostril, narrower than a limb).

      Returns IAutoMovieMeshSectionCut[]

      One section per station, in the given order.