it sounds like you have to make a simple intersection of two lines ...
However, I have worked with Lat / Long before and I know that they are not entirely true for any 2nd coordinate system.
I would start with the general function "IsPointInPolygon", you can find a million of them in a search query, and then test it on your poly to see how well it works. If they are accurate enough, just use this. But it is possible that due to the non-quadratic lat / long coordinates, you may need to make some changes using spherical geometry.
source share