Mathematica > Data Manipulation > Numerical Data > Curve Fitting & Approximate Functions > Splines >
Mathematica > Data Manipulation > Statistics > Curve Fitting & Approximate Functions > Splines >
Mathematica > Mathematics and Algorithms > Statistics > Curve Fitting & Approximate Functions > Splines >

BSplineCurve

BSplineCurve[{pt1, pt2, ...}]
is a graphics primitive which represents a non-uniform rational B-spline curve with control points pti.
  • The positions of control points can be specified either in ordinary coordinates as {x, y} or {x, y, z}, or in scaled coordinates as Scaled[{x, y}] or Scaled[{x, y, z}].
  • The following options can be given:
SplineDegreeAutomaticdegree of polynomial basis
SplineKnotsAutomaticknot sequence for spline
SplineWeightsAutomaticcontrol point weights
SplineClosedFalsewhether to make the spline closed
  • The option setting SplineDegree->d specifies that the underlying polynomial basis should have maximal degree d.
  • By default, knots are chosen uniformly in parameter space, with additional knots added so that the curve starts at the first control point and ends at the last one.
  • With an explicit setting for SplineKnots, the degree of the polynomial basis is determined from the number of knots specified and the number of control points.
  • With the default setting SplineWeights->Automatic, all control points are chosen to have equal weights, corresponding to a polynomial B-spline curve.
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team