LocationDirection

  • Returns a normalized number given min and max bounds.

  • Returns the smaller difference between the receiver and another direction.

    To obtain the larger difference between the two directions, subtract the return value from 360°.