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.
…
angles in radians, so you want to convert 90 degrees to radians (the opposite). To do that use Rad(A).
(If you are so mixed up, why don't you try both functions by trial and error and see what happens?)
When using the ° symbol, you have to write some number or variable preceding it. So in your case you want to write A°.…
Added by Vicente Soler at 8:39am on November 22, 2009