Computational geometry library