Geometry library made in Swift