<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hello again,</div><div class=""><br class=""></div><div class="">We found that we could get the square of the distance in mobility-helper.h file: </div><div class=""><br class=""></div><div class="">Static double getDistanceSquaredBetween(Ptr <Node> n1, Ptr <Node> n2)</div><div class=""><br class=""></div><div class="">and inside the <a href="http://mobility-helper.cc" class="">mobility-helper.cc</a> file we found that it does return the distance squared:</div><div class=""><br class=""></div><div class="">return distSq;</div><div class=""><br class=""></div><div class="">However, we have problems using that function in our own scenario. Could you help us get it to work properly.</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 5, 2017, at 11:50 AM, Marzieh Babaeianjelodar <<a href="mailto:babaeim@clarkson.edu" class="">babaeim@clarkson.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello all,<br class=""><br class="">Me and my Research partner have been creating clusters of moving nodes in ndnSIM. However, we want to find a way to choose between the moving nodes based on their location (coordinates) and forward the interest to another cluster from that chosen node. How could we do that? <br class=""><br class="">Best Regards,<br class="">Marzieh</div></div></blockquote></div><br class=""></body></html>