示例#1
0
 /// <summary>
 /// Insert the feature into the QuadTree
 /// </summary>
 /// <param name="item"></param>
 public void Insert(T item)
 {
     m_root.Insert(item, GetRect(item));
 }
示例#2
0
 /// <summary>
 /// Stores an object in the tree. The object needs to implement the interface IQTstoreable.
 /// </summary>
 /// <param name="insertObject">A object that is to be stored in the tree. </param>
 public void Insert(T insertObject)
 {
     Root.Insert(insertObject);
 }