Geometry library written in C