nt B2[i] so B1[i]<=0 means no new connections allowed for point i ,so point i is deleted from B1, B2 updated accordingly.
Initialization:
B1: max number of connections x number of points
B2: all the points
B3: nothing (well null or something, need to create the branch)
Algo:
Get first point in B2, get his allowed number of connections N in B1, find N closest points in B2, create lines in B3, update B2 accordingly. Erase points with max connections (including the first point)
Next
Stop when no points available
At end of loop, B3 stores the created lines.
…
, a1200)}) Is there any way I can make this list into {a1, a2, a3, a4, -a5, -a6, -a7, -a8, a9, a10, a11, a12, -a13, ..... , a1200} ? ( 4 positive signs then 4 negative signs and so on) - alternating every nth in general.
or
2. Is there any way (workaround) to get negative angle value from 2 vectors? I know 'ANGLE (of 2 vectors)' component by itself doesn't work and I know why too. I have feeling that the reflex angle output might be useful but again, matter of list manipulation.
Any help would be greatly appreciated. Thanks in advance.
Hyo
…