Hi, all. I am trying to implement an algorithm in ns-2 which needs to get the
node's position, say X and Y coordinate values, in C++ codes. Is there anybody
can help. Any suggestion will be appreciated.
___
好玩贺卡等你发,邮箱贺卡全新上线!
h
--- En date de : Jeu 21.1.10, false a écrit :
De: false
Objet: Re: How to get node's position in C++ codes?
À: "ns users"
Date: Jeudi 21 Janvier 2010, 20h34
Hi
You can get the position of each node with the function getLoc that exist in
the file mobilenode/common/ns-2.xx
So you