Example #1
0
        /// <summary>
        /// Adds new data at a given location.
        /// </summary>
        /// <param name="location"></param>
        /// <param name="data"></param>
        public void Add(TPointType location, TDataType data)
        {
            QuadTreeNode leafNode = this.GetOrCreateAt(
                location);

            leafNode.AddData(location, data);
        }