QuadtreeT Methods |
The QuadtreeT generic type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Clears all items in this node and removes subnodes.
| |
Create |
Creates a Quadtree.
| |
Destroy |
Destroys a tree, making it available for being recycled.
Do not use the tree again after calling this.
| |
Dispose |
Destroys the quadtree using Destroy(QuadtreeT).
Do not use the tree after calling this!
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
Insert |
Inserts an item with the specified bounds into the quadtree.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes an item with the specified bounds from the quadtree.
| |
Retrieve(Rect) |
Retrieves all potential matches for the given Rect.
Careful, this method creates a new HashSetT.
You might want to use Retrieve(Rect, HashSetT) instead if you call this often.
| |
Retrieve(Rect, HashSetT) |
Retrieves all potential matches for the given Rect and adds them to results.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |