mhogg / pyoctree

Octree structure containing a 3D triangular mesh model
MIT License
86 stars 19 forks source link

thread safety? #52

Open seedship opened 2 years ago

seedship commented 2 years ago

Is PyOctree thread safe? I would like to use multiprocessing to have multiple threads use the same pyoctree object to check if lines intersect the same mesh concurrently. Does that sound safe?

If not, is there a way I can copy an already made pyoctree object? Will copy.deepcopy work?