:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** QuadTree -------- .. class:: QuadTree :cloneable: :constructible: :class:`QuadTree` is a container used to store indexes (integers) to objects using a latitude-longitude location. Methods ======= .. method:: int Add(double aLatitude, double aLongitude, int aId) Stores a point in the quad-tree at the specified latitude-longitude. *aId* can be any script integer. .. method:: bool Remove(int aId) Finds and removes *aId* from the QuadTree. Returns 'true' if successful. .. method:: Array InRange(double aLatitude, double aLongitude, double aRange) Returns a list of indexes that are within horizontal range of the specified location (latitude-longitude) and range (meters).