Research Article
Variations in 2D and 3D Models by a New Family of Subdivision Schemes and Algorithms for its Analysis
Algorithm 2
Generation degree of the schemes.
(1) | input: The symbol of the proposed schemes, i.e. , (⊳) are the coefficients (depends on ) of respectively in | (2) | ifthen | (3) | | (4) | for to do | (5) | calculate: (⊳) denotes the -th derivative of evaluated at | (6) | ifthen | (7) | return scheme generates polynomials up to degree for | (8) | else | (9) | go to 22 | (10) | end if | (11) | end for | (12) | else | (13) | (⊳) are the coefficients (depends on ) of respectively in | (14) | for to do | (15) | calculate: | (16) | ifthen | (17) | return scheme generates polynomials up to degree for all | (18) | else | (19) | go to 22 | (20) | end if | (21) | end for | (22) | end if | (23) | output: degree of generation of the schemes corresponding to for all or for . |
|