Skip to main content
2 of 6
deleted 8 characters in body; deleted 8 characters in body
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

SplineDegree->1 does not work with BezierFunction?

This works (SplineDegree->2)

ParametricPlot[BezierFunction[{{0, 0}, {1, 0.5}, {2, 2}}, SplineDegree -> 2][u], {u, 0, 1}]

BezierFunction SplineDegree 2

but this does not (SplineDegree->1)

ParametricPlot[BezierFunction[{{0, 0}, {1, 0.5}, {2, 2}}, SplineDegree -> 1][u], {u, 0, 1}]

BezierFunction::invdeg: Value of option SplineDegree -> 1 should be a positive integer, or a list of positive integers

I found no reference to a possible issue in the documentation for BezierFunction.

SplineDegree->1 works fine with BSlineFunction and BezierCurve; shouldn't it also work with BezierFunction?

Mma 8.0.4 Mac OSX

JxB
  • 5.1k
  • 1
  • 23
  • 41