AutoMovie API
    Preparing search index...
    PlaceDepth: (girth: number) => number

    The depth argument of AutoMovieHumanBodyBox.place. A level's three measures with every default placed inside the range the supplied ones leave, so a defaulted measure is never the cause of a contradiction. The girth is the person's or its own default; each omitted breadth or depth is its survey line on that girth. Then, keeping every supplied value:

    • a defaulted girth is held inside the box of the breadth and depth;
    • with the girth supplied and both breadth and depth defaulted, both are scaled by one factor, keeping their survey proportion, until the girth lies in their box;
    • with the girth and one of the two supplied, the other is held inside the interval that puts the girth in the box: for a supplied breadth W, the depth from G / 2 - W (the box's perimeter reaches G) to sqrt(G^2 / 4 - W^2) (the rhombus's does), an interval that is empty only when W > G / 2, which no depth can mend;
    • with all three supplied, nothing moves, and diagnose reports a contradiction.

    Type Declaration

      • (girth: number): number
      • Parameters

        • girth: number

          The girth's default when omitted, mm.

        Returns number

        The level's breadth, depth and girth, mm. * * *