Degree-driven geometric algorithm library and workbench