[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Center of coordinate system in ns (for wireless ad-hoc)
- Subject: Re: [ns] Center of coordinate system in ns (for wireless ad-hoc)
 
- From: Andronikos Nedos <[email protected]>
 
- Date: Mon, 20 Aug 2001 10:43:00 +0100
 
- CC: ns-users mail list <[email protected]>
 
- References: <[email protected]> <001501c12933$99dc0a10$6d1a70ca@danaus>
 
- Sender: [email protected]
 
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
 
Yes, I just tested that and you are right. It does seem as if nam 
assumes coordinate center to be bottom-left
corner while ad-hockey assumes top-left. I wonder what ns is assuming 
but I presume that when you want
to calculate directional angles it shouldn't really matter which one you 
pick as long as you stick with
one coordinate center for all your caclulations. I am fairly happy with 
ad-hockey  so far.
It seems better to me in its handling or ad-hoc scenarios.
    - Andronikos
Cheng Li wrote:
>Hi:
>
>I make a small test using the nam. 
>I just set two nodes that node(0) at coordinate (0,0) and node(1) at (300,300). 
>Then, in the nam the node(0) is shown at the down-left corner and the node(1) 
>is at the up-right. 
>Do I make me clear?
>
>Danaus
>
>----- Original Message ----- 
>From: "Andronikos Nedos" <[email protected]>
>To: <[email protected]>
>Sent: Sunday, August 19, 2001 11:40 PM
>Subject: [ns] Center of coordinate system in ns (for wireless ad-hoc)
>
>
>>Hi all,
>>Just to make sure, what is the center (0,0) of the coordinate system in 
>>ns? There was another post in the
>>mailing list but got no reply and the manual does not explicitly 
>>mentions that. From using ad-hockey
>>it seems that (0,0) is the top-left corner. Is that so??
>>
>>Any help appreciated,
>>    - Andronikos
>>