typemytype / booleanOperations

Boolean operations on paths
MIT License
39 stars 18 forks source link

use @staticmethod for BooleanOperationManager and export top-level functions #25

Closed anthrotype closed 8 years ago

anthrotype commented 8 years ago

As suggested by @behdad in #24.

This maintains retro-compatibility with the current API, but also allows to use union, difference, intersection, xor, and getIntersections methods as normal functions available from the top-level booleanOperations module, without having to first create a BooleanOperationManager object.