Function geoRotation

  • Returns a rotation function for the given angles.

    Parameters

    • angles: [number, number] | [number, number, number]

      A two- or three-element array of numbers [lambda, phi, gamma] specifying the rotation angles in degrees about each spherical axis. (These correspond to yaw, pitch and roll.) If the rotation angle gamma is omitted, it defaults to 0.

    Returns GeoRotation