internal void Clear() { // Clear out the children, if we have any if (childTL != null) { childTL.Clear(); childTR.Clear(); childBL.Clear(); childBR.Clear(); } // Clear any objects at this level if (objects != null) { objects.Clear(); objects = null; } // Set the children to null childTL = null; childTR = null; childBL = null; childBR = null; }
public void Clear() { wrappedDictionary.Clear(); quadTreeRoot.Clear(); }