The ol.geom.Geometry.cspline() smooth lines by using cardinal splines (canonical spline) to draw smooth curves that goes through the points.