how do I check the direction of a ray across with a plane in arcgis.