Questions tagged [bspline]

A B-spline (basis spline) is the generalization of the Bézier curve which has minimal support with respect to a given degree, smoothness, and domain partition.

A B-spline (basis spline) is the generalization of the Bézier curve which has minimal support with respect to a given degree, smoothness, and domain partition.

190 questions
0
votes
1 answer

B-splines with Scipy : can I add a datapoint without full recompute?

I have a bspline created with scipy.interpolate.splrep with points (x_0,y_0) to (x_n,y_n). Usual story. But I would like to add a data point (x_n+1,y_n+1) and appropriate knot without recomputing the entire spline. Can anyone think of a way of doing…
wtfastro
  • 333
  • 1
  • 2
  • 6
0
votes
0 answers

BSpline derivativeAt() method does not return correct value

I am having problems with the derivativeAt() method when using the BSpline path because it is not returning the correct values, however the derivativeAt() method works find for the CatmullRomSpline path so this is something specific to SPline. The…
Tekkerue
  • 1,497
  • 1
  • 11
  • 17
0
votes
1 answer

Store string after spliting as number in array in Matlab

I'm using this code to take the entered string through text field that is contain text like this( 1,1,1,3,4,7,9,9,9 ) and then I split it depends on , to store each number in array as the result in Matlab but the problem in when I'm using str2double…
Samah Ahmed
  • 419
  • 8
  • 24
0
votes
0 answers

BSpline Approximation Using MathDotNet

Does MathDotNet have any capability about data approximations by using b-splines? Unfortunately i couldn't find anything in the documentations!
Ehsan Mirsaeedi
  • 6,924
  • 1
  • 41
  • 46
0
votes
0 answers

Plotting B-splines in R

I am trying to create a B-spline basis of order 4 for a data set of 106 with 40 internal knots. All the plotted basis functions I've seen so far consists of very smooth and nicely spread out curves, whereas mine is pointy and generally pretty ugly…
estenhl
  • 59
  • 9
0
votes
1 answer

Specify clamped knot vector in bs-call

I intend to fit a clamped b-spline to a set of control points in R, but have trouble understanding the use of the knots parameter in bs. Given a set of control points: path <- data.frame( x = c(3, 3.5, 4.6875, 9.625, 5.5625, 19.62109375,…
ThomasP85
  • 1,624
  • 2
  • 15
  • 26
0
votes
1 answer

How to draw bounded b-spline surface in OpenGL?

I want to draw a bounded b-spline surface with 26 b-spline boundary curves. I can draw b-spline surface (without any boundary) in OpenGL, but it is too difficult for me to draw surface and fit the boundary curves. Any suggestions or ideas are…
0
votes
1 answer

Why B-Spline are defined only where basis function sum to 1?

I'm trying to understand b-spline. It's not clear why << The curve is defined only where order basis functions overlap>>, where order is degree+1 (for a cubic the order is 4). I found also that where a number equal to the order of basis functions…
0
votes
0 answers

B-spline - rought ''connection'' between curves

Take a look a picture below. White square is a shared control point between 2 b-curves which are part of the same spline. I am generating a mesh around that spline that will act as a floor, but between every ''curves'' of my b-spline the junction is…
Fawar
  • 735
  • 2
  • 11
  • 32
0
votes
1 answer

Bspline, distance to segment, simpler than distance to point on curve?

Given: A spline from concatenated bezier curves. A point Desired: Finding the one bezier curve of the spline, that is closest to that point. Solution: Iteratively finding the closest point on each bezier curve and selecting the curve with the…
J-S
  • 425
  • 3
  • 17
0
votes
1 answer

How to connect two fitted B-spline curve?

I use B-spline curve fitting to obtain one smooth curve. If I obtain two smooth B-spline , how can I connect then smoothly. For example, I have 59 points((x0,y0,z0),...,(x58, y58, z58)) and I have two fitted B spline. One B-spline is for the first…
Jogging Song
  • 573
  • 6
  • 28
0
votes
2 answers

Is it a reasonable to have the following in the BSpline?

I have a closed 3-order(degree 2) BSpline which has the following parameters 9 control points 14 knot points why the relation is 9 + 3 + 2 = 14?
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
0
votes
2 answers

Pathfinding, possibly B-Spline

I'm writing a program in C# that will allow me to take in my current heading, my current location, and the next two points I want to come across along my path and I want to output the angle at which I should currently be turning to follow an arc…
CamelopardalisRex
  • 353
  • 1
  • 2
  • 16
0
votes
1 answer

how can i change the b-spline curves from 4 point to 6?

I have a code on C++ it's b-spline curve that has 4 points if I want to change it to 6 point what shall I change in the code? You can check the code: #include "graphics.h" #include int main(void) { int gd, gm, page = 0; gd = VGA; gm…
0
votes
1 answer

Does increasing the weight of control points have any effect on the continuity of a B-Spline?

I have a basic question relating to NURBs Spline and tension splines like v-splines. Does increasing the weight of a give control point or all control points have any effect on the continuity of the B-Spline ? For example in the case of a C2…
Umang
  • 3
  • 2
1 2 3
12
13