getAheadBehindDirectionSegments

This represent the original iOS AHEAD_BEHIND direction type which they described like this:

Ahead and Behind get a 150 degree window, while Left and Right get 30 degree windows in their respective directions (e.g. right is 75 degrees to 105 degrees and behind is 105 degrees to 255 degrees). These windows do not overlap, so relative directions can only be "ahead", "to the right", "behind", or "to the left". This style of relative direction is bias towards calling out things as either ahead or behind unless they are directly to the left or right.

Return

an array of Segments describing the angles

Parameters

heading

Direction the device is pointing in degrees