AutoMovie API
    Preparing search index...

    Function autoMovieOpeningArc

    • The circular arc one opening-profile edge bulges along, or null when the edge is straight.

      The bulge is the DXF value tan(|sweep| / 4), and a positive bulge leans to the left of the edge's own direction, the same convention outlineHull places its sagitta by. The centre therefore sits on the chord's right for a positive bulge, at a signed distance that runs to infinity as the bulge goes to zero, and the sweep runs clockwise, which is what puts the arc on the left. A bulge within AUTOMOVIE_OPENING_BULGE_EPSILON of zero, or an edge with coincident ends, is straight.

      Parameters

      Returns IAutoMovieOpeningArc | null

      The arc's circle, start angle and signed sweep, or null.