Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "traverse-vertices"

Index

Functions

Functions

traverseVertices

  • traverseVertices(cpNode: CpNode, f: function): void
  • Traverses the MAT tree and calls the given callback function for each vertex (represented by a CpNode) on the MAT.

    It is usually preferable to use traverseEdges as it allows for the traversal of all the smooth curves representing the MAT.

    Parameters

    • cpNode: CpNode

      Any CpNode representing the start vertex.

    • f: function

      A callback function taking a single CpNode as parameter.

        • Parameters

          Returns void

    Returns void

Generated using TypeDoc