Options
All
  • Public
  • Public/Protected
  • All
Menu

Module functions/getClosestResult

Functions

Functions

Const getClosestResult

  • Finds the Result with the lowest distance to the given Point.

    todo

    import types from euclidean-distance

    Parameters

    • point: Point

      The origin from which to measure distances.

    • results: Result[]

      The Result candidates.

    Returns Result

Generated using TypeDoc