Checking for intersection between SphericalPolygonSets

Hi,

I am trying to find a good method to check for intersection between two SphericalPolygonSets.
After starting to do my own method, using traditional approach by checking containment of vertices etc, I realized this must already have been thought of.

Using RegionFactory I have had some success, but the issue here is that the ‘intersection’ method will destroy my input Regions and this is not what I am after - I do not want to actually construct the intersection, just check if it is present.

Cheers, Patrik

Hi @Patosan welcome!

I am afraid the only way is to first copy the regions and then compute the intersection and check it is not empty.

Hi,

Thank you!
And yes, this I suspected was the way forward.

Cheers,
Patrik