A computational geometry library