Created by: vicdoval
Alternative algorithm that improves the performance in some cases:
When the polygon list has all polygons with the same number of sides.
When the polygon list is a numpy array
When outputting numpy array of edges
Getting unique edges form the polygons of a 100x100x100 box (120.000 edges) Classical 0.250 s With Regular Polygons checked 0.204 s With Regular Polygons and Output numpy 0.123 s With Regular Polygons and Output numpy and numpy input 0.99s
-
Code changes complete. -
Code documentation complete. -
Documentation for users complete (or not required, if user never sees these changes). -
Manual testing done. -
Unit-tests implemented. -
Ready for merge.