SplineCurve is a Curve and TubeGeometry takes all types of curves as input.