equal
deleted
inserted
replaced
261 |
261 |
262 if(!was_redesigned) |
262 if(!was_redesigned) |
263 { |
263 { |
264 NodeIt i((mytab.mapstorage).graph); |
264 NodeIt i((mytab.mapstorage).graph); |
265 |
265 |
266 double r=Random().getReal(); |
266 dim2::Point<double> init(init_vector_length*rnd(), |
267 |
267 init_vector_length*rnd()); |
268 dim2::Point<double> init(init_vector_length*sin(r),init_vector_length*cos(r)); |
|
269 moveNode(init.x, init.y, nodesmap[i], i); |
268 moveNode(init.x, init.y, nodesmap[i], i); |
270 was_redesigned=true; |
269 was_redesigned=true; |
271 } |
270 } |
272 |
271 |
273 |
272 |