SplineWeights

SplineWeights

is an option for B-spline functions and graphics primitives that specifies weights of control points.

Details

  • SplineWeights->Automatic makes all weights equal, yielding polynomial splines.
  • With SplineWeights->array, each element of array gives the weight for the corresponding control point in the array of control points specified.

Examples

open allclose all

Basic Examples  (1)

Here all weights are equal:

This uses a larger weight for the third control point:

Applications  (2)

Perfect circle using B-spline curve with weights:

Pipe section using B-spline surface with weights:

Wolfram Research (2008), SplineWeights, Wolfram Language function, https://reference.wolfram.com/language/ref/SplineWeights.html.

Text

Wolfram Research (2008), SplineWeights, Wolfram Language function, https://reference.wolfram.com/language/ref/SplineWeights.html.

CMS

Wolfram Language. 2008. "SplineWeights." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SplineWeights.html.

APA

Wolfram Language. (2008). SplineWeights. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SplineWeights.html

BibTeX

@misc{reference.wolfram_2024_splineweights, author="Wolfram Research", title="{SplineWeights}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/SplineWeights.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_splineweights, organization={Wolfram Research}, title={SplineWeights}, year={2008}, url={https://reference.wolfram.com/language/ref/SplineWeights.html}, note=[Accessed: 22-November-2024 ]}