Function edgesFoldAngleAreAllFlat

  • Parameters

    • graph: FOLD

      a FOLD object

    Returns boolean

    are the edges of the graph flat folded?

    Description

    Using edges_foldAngle, determine if a FOLD object edges are all flat-folded, meaning all edges are either: -180, 0, 180, or any of those three within an epsilon. If a graph contains no edges_foldAngle the edges are assumed to be flat.