There is no real way to do this with any real reliability. Here is why.
Your are using a bounding box. What is called a ring fence or geo-fence?
If you are using a ring fence, as illustrated in the following tutorial
one option is to compare the bounding latitude/longitude of the entry point compared to the latitude/longitude with exit point.

In the example case the Northern boundary is 37.78034 and the Southern boundary is
37.78016 . If the device is entering from the North, the initial latitude upon entering will be closer to 37.78034 than it is to 37.78016. You could compare the actual latitude at the 'point of entry' with the southern and northern bounds. If the point of entry is closer to the southern bound, then the entry is from the south. This takes care of North/South. Use the longitude to compare West/East. What about other directions of entry? Perhaps from the northwest? Hmmm. Then you have to do some trigonometry and things get messy.
If the ring fence is relatively small in dimensions, all these calculations are probably useless? Why? Read about the LocationSensor Property of Accuracy.
You could use the Orientation Sensor to find the direction of travel. If the sensor points to magnetic South, the device is moving from North to South.
If you are using a ring fence in conjunction with the MIT Map component, there are some other things that could be done in a different way.
----------------------
Edit: Perhaps set a bounding box using Map
- BoundingBox
- Sets or gets the current boundary for the map's drawn view. The value is a list of lists containing the northwest and southeast coordinates of the current view in the form
((North West) (South East))
.
As stated, the rectangular coordinates probably would be a List of the coordinates.
You could make a comparison in a way similar to what you would do with the first example.
-------------------
In my opinion, none of these solutions is satisfactory in ensuring you are going the right way on a one way street (unless of course the street is North-South or East-West and not curving. :(
Regards,
Steve