Bin3DT Class |
Namespace: Archon.SwissArmyLib.Partitioning
public class Bin3D<T> : IDisposable
The Bin3DT type exposes the following members.
Name | Description | |
---|---|---|
Bin3DT(Int32, Int32, Int32, Single, Single, Single) |
Creates a new Bin.
| |
Bin3DT(Int32, Int32, Int32, Single, Single, Single, Vector3) |
Creates a new Bin.
|
Name | Description | |
---|---|---|
CellDepth |
Gets the depth of cells in the Bin.
| |
CellHeight |
Gets the height of cells in the Bin.
| |
CellWidth |
Gets the width of cells in the Bin.
| |
Depth |
Gets the depth (number of layers) of the Bin.
| |
Height |
Gets the height (number of rows) of the Bin.
| |
Item |
Gets an IEnumerableT for the items in the given cell.
| |
Origin |
The coordinate at which this bin's bottom left front corner lies.
| |
Width |
Gets the width (number of columns) of the Bin.
|
Name | Description | |
---|---|---|
Clear |
Removes all items from the Bin.
| |
Dispose |
Frees (clears) used resources that can be recycled.
Call this when you're done with the Bin.
| |
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 given bounds into the Bin.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(T) |
Goes through all cells and removes the specified item if they contain it.
If you can you should use Remove(T, Bounds) instead.
| |
Remove(T, Bounds) |
Removes an item which was inserted with the given bounds from the Bin.
| |
Retrieve |
Gets all items in the Bin that could potentially intersect with the given bounds.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update |
Removes and reinserts an item with new bounds, essentially moving it.
|