/// <summary> /// Removes a point from a child of this indexing node /// </summary> /// <param name="p">The point to remove from the index</param> /// <param name="depth">The 0-based depth of the current node (specify 0 /// when dealing with the root node)</param> /// <returns> /// True if a point was removed. False if the supplied /// instance was not found in any child. /// </returns> internal override bool Remove(IPoint p, int depth) { Extent w = CreateWindow(p, depth + 1); Node n = FindNode(w); if (n == null) { return(false); } return(n.Remove(p, depth + 1)); }
/// <summary> /// Removes a point from this index. /// </summary> /// <param name="p">The point to remove</param> /// <returns>True if the point was removed. False if it couldn't be found</returns> internal bool Remove(IPoint p) { return(m_Root.Remove(p, 0)); }