Maybe with numbers it would be easier to understand.
If there is 1 insert to the list 5
If there is a 5 insert to the list 6 or 4
So if i start from 1 one possible list would be: {1, 5, 6}
ep is to understan the logics of what you want to do, in your case, build 4 point surfaces (u also need to know the right direction to build the surfaces). Then you can write an hipotetic list (by hand in a paper) of what you want. In your case the list was (0, 1, 3, 2) (2, 3, 5, 4) (4, 5, 7, 6), etc... if you can imagine building 2 lists, each one with the sequences (0, 2, 4, 6, etcc) and (1, 3, 5, 7, etc..) then you can manage with shift and graft to finally have four lists. A( 0 1 2 3 ...) B (1 3 5 etc..) C(3 5 7 etc..) D (2 4 6 etc..). And to achieve the 2 first lists, you need to get the odd and the pair numbers. The cull pattern does that amazingy well. With a pattern True-False you get de pair numbers, and with the False-True pattern you get de odd numbers.
Hope it was clear enough…
Added by Pep Tornabell at 5:32am on November 19, 2009
ment is always at parameter 0 and last element at parameter 1, so if my parameters "t" are: (0, 0, 1, 1, 1)
my output list will be simply: (6, 6, 10, 10, 10)
but if I send a series of parameters like: (0, 0.25, 0.5, 0.75, 1)
the output will be: (6, 7, 8, 9, 10)
a linear interpolation between 6 and 10.
With more than 2 values in "D", the type of interpolation can change the output, see this:
and for block (blue) and cubic (magenta/pink) type the results would be like this:
Note that I just built points with a sequence of number in X and interpolated datas to Y (see again definition) to have a graphical support for this "explanation".
"Interp" component give as output the same type of objects as you give as input, number>number, integer>integer, even directly point>point (!) and so on...
(P.S. as can you see, I've prepass values to a "number" component before the "D" of "Interp" component; this because "Interp" component doesn't automatically convert text to number.)
Hope my english dont hurt you :P
bye
maje…