Function lengthToRadians

    • Convert a distance measurement (assuming a spherical Earth) from a real-world unit into radians
    • 将距离测量值(假设地球是球形的)从现实世界的单位转换为弧度
    • Valid units: miles, nauticalmiles, inches, yards, meters, metres, kilometers, centimeters, feet
    • 有效单位:英里,海里,英寸,码,米,千米,厘米,英尺

    Parameters

    • distance: number

      in real units

    • Optional units: Units = "kilometers"

      can be degrees, radians, miles, inches, yards, metres, meters, kilometres, kilometers.

    Returns number

    radians

    Name

    lengthToRadians

Generated using TypeDoc