In Cesium, given a set of latitude and longitude points that form a polygon with entity appearances as shown in the figure, if I specify a point P, how can I determine whether this point lies inside the polygon? Does this method remain applicable when the polygon crosses the 180-degree longitude line or contains polar points?
Hi @Keei ,
Thanks for your post.
TurfJS has a function for this.
Would that work for you? Please let us know if not and I would be happy to try and help more.
Thanks,
Luke
Register for the 2025 Cesium Developer Conference, June 23-25, Philadelphia.