benbovy / spherely

Manipulation and analysis of geometric objects on the sphere.
https://spherely.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
119 stars 8 forks source link

Predicates functor #22

Closed benbovy closed 1 year ago

benbovy commented 1 year ago

This save some code duplication and will be slightly easier to refactor.

It also creates the S2BooleanOperation::Options object only once, although I don't expect any significant speedup and we might want to eventually expose options to Python (thus creating a new object for each call).