When classifying the intersection point check the ON status in 3D - compare the 3D distances with 3D tolerance.