Skip to content

question about BSplineElements #276

Open
@sjunwl

Description

@sjunwl

hi professor,I could not understand the class BSplineElements, and what is the function of the class BSplineElements?
image
1、suppose; Degree =2 and res =8 = 1<<3 ; I get BSplineElements b1(res, k, 1, 0);[k indexes the center of the B-spline]
2、when k =0 ;then b1 is 7 Triples : { {0,1,1}; {0,0,1};{0,0,0}; {0,0,0};{0,0,0};{0,0,0};{0,0,0};}
does the b1 on interval [0,1] is 1*(-x^2 + x + 1/2) + 1*(1/2 x^2 - x + 1/2) , and on interval[1,2] is 1*(1/2 x^2 - x + 1/2) and 0 on the other intervals? and if I am right , why ?
3、 when k =1; then b1 is 7 thriples:{ {1,0,0}; {0,1,0};{0,0,1}; {0,0,0};{0,0,0};{0,0,0};{0,0,0};}
does the b1 on interval [0,1] is 1*(1/2 x^2) , and on interval[1,2] is 1*(-x^2 + x + 1/2) and on interval [2,3] is 1*(1/2 x^2 - x + 1/2) and 0 on the other intervals? and if I am right , why ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions