Use knotVector() to get knots.