Function calculateDistance

  • Calculate the distance between two coordinates

    Returns

    distance

    Parameters

    • coordinates1: [BN, BN]

      the 1st set of coordinates

    • coordinates2: [BN, BN]

      the 2nd set of coordinates

    Returns number

Generated using TypeDoc