Looking at the inside_polygon function it seems like it's using the winding number algorithm to determine weather a point is inside the polygon or not. Beware that according to (1) this algorithm only works if the polygon is boundary antipode-excluding (BAE).
(1) - Li, Z., & Sun, J. (2023). On the Reduction of the Spherical Point-in-Polygon Problem for Antipode-Excluding Spherical Polygons. arXiv preprint arXiv:2309.03822.
Looking at the inside_polygon function it seems like it's using the winding number algorithm to determine weather a point is inside the polygon or not. Beware that according to (1) this algorithm only works if the polygon is boundary antipode-excluding (BAE).
(1) - Li, Z., & Sun, J. (2023). On the Reduction of the Spherical Point-in-Polygon Problem for Antipode-Excluding Spherical Polygons. arXiv preprint arXiv:2309.03822.