/
test-line.out
50 lines (40 loc) · 1.82 KB
/
test-line.out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
default:
[[0, 0]]: M0,0
[[0, 0], [1, 1]]: M0,0L1,1
[[0, 0], [1, 1], [2, 0]]: M0,0L1,1L2,0
y(-1):
[[0, 0]]: M0,-1
[[0, 0], [1, 1]]: M0,-1L1,-1
[[0, 0], [1, 1], [2, 0]]: M0,-1L1,-1L2,-1
x(d.x).y(d.y):
[{x:0,y:0}]: M0,0
[{x:0,y:0},{x:1,y:1}]: M0,0L1,1
[{x:0,y:0},{x:1,y:1},{x:2,y:0}]: M0,0L1,1L2,0
interpolate(step-before):
[[0, 0]]: M0,0
[[0, 0], [1, 1]]: M0,0V1H1
[[0, 0], [1, 1], [2, 0]]: M0,0V1H1V0H2
interpolate(step-after):
[[0, 0]]: M0,0
[[0, 0], [1, 1]]: M0,0H1V1
[[0, 0], [1, 1], [2, 0]]: M0,0H1V1H2V0
interpolate(basis):
[[0, 0]]: M0,0
[[0, 0], [1, 1]]: M0,0L1,1
[[0, 0], [6, 6], [12, 0]]: M0,0C0,0,0,0,1,1C2,2,4,4,6,4C8,4,10,2,11,1C12,0,12,0,12,0
interpolate(basis-closed):
[[0, 0]]: M0,0C0,0,0,0,0,0
[[0, 0], [6, 6]]: M2,2C2,2,4,4,4,4C4,4,2,2,2,2
[[0, 0], [6, 6], [12, 0]]: M9,1C8,0,4,0,3,1C2,2,4,4,6,4C8,4,10,2,9,1
interpolate(cardinal):
[[0, 0]]: M0,0
[[0, 0], [5, 5]]: M0,0L5,5
[[0, 0], [5, 5], [10, 0]]: M0,0Q4,5,5,5Q6,5,10,0
interpolate(cardinal-closed):
[[0, 0]]: M0,0
[[0, 0], [5, 5]]: M0,0L5,5
[[0, 0], [5, 5], [10, 0]]: M0,0C-0.7500000000000001,0.7500000000000001,3.5,5,5,5S10.75,0.7500000000000001,10,0S0.7500000000000001,-0.7500000000000001,0,0
interpolate(monotone):
[[0, 0]]: M0,0
[[0, 0], [5, 5]]: M0,0L5,5
[[0, 0], [5, 5], [10, 0]]: M0,0C0.4166666666666667,0.4166666666666667,3.333333333333333,5,5,5S9.583333333333334,0.4166666666666667,10,0