• Run a path detection on the given set of path segments.

    Note that the array and some path segments may be altered (like reversal) IN PLACE.

    Parameters

    • segments: PathSegment[]

      The total set (array) of available path segments.

    • Optional epsilon: number

      (optional) An epsilon to use to tell if two plane points should be considered 'equal'.

    Returns GenericPath[]

    An array containing all detected path (consisting of adjacent path segments of the original set).

Generated using TypeDoc