[ndnSIM] Knowing the Location Coordinates of a Specific Node

Junxiao Shi shijunxiao at email.arizona.edu
Fri Nov 15 06:45:23 PST 2019

Hi Ammarah

   1. Retrieve Ptr<Node> by ID.

   2. Retrieve MobilityModel aggregated to the Node.



   3. Get position from MobilityModel.


Yours, Junxiao

On Fri, Nov 15, 2019 at 9:25 AM f179007 Ammarah Khalid <f179007 at nu.edu.pk>

> Hi Everyone!
> How can I get the location coordinates of a specific node by giving it's
> ID?
> For example, I want to know the coordinates of Node with id 2. How can I
> do this?
> Thanks and Regards,
> Ammarah Khalid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20191115/84ba427d/attachment.html>

More information about the ndnSIM mailing list