![]() | BasePartitionT Class |
Namespace: DigitalRune.Geometry.Partitioning
public abstract class BasePartition<T> : ISpatialPartition<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The BasePartitionT type exposes the following members.
Name | Description | |
---|---|---|
![]() | BasePartitionT |
Initializes a new instance of the BasePartitionT class.
|
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the BasePartitionT.
|
![]() | Clear |
Removes all items from the BasePartitionT.
|
![]() | Clone |
Creates a new BasePartitionT that is a clone (deep copy) of the current
instance.
|
![]() | CloneCore |
Makes the instance a clone (deep copy) of the specified BasePartitionT.
|
![]() | Contains |
Determines whether the BasePartitionT contains a specific value.
|
![]() | CopyTo | |
![]() | CreateInstanceCore |
When implemented in a derived class, creates a new instance of the
BasePartitionT derived class.
|
![]() | Equals | (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.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetOverlaps |
Gets overlaps of all items contained in this spatial partition.
|
![]() | GetOverlaps(T) |
Gets the items that touch the given item.
|
![]() | GetOverlaps(Aabb) |
Gets the items that touch the given axis-aligned bounding box (AABB).
|
![]() | GetOverlaps(ISpatialPartitionT) |
Gets overlaps between all items of this spatial partition and the items of another spatial
partition.
|
![]() | GetOverlaps(Ray) |
Gets the items that touch the given ray.
|
![]() | GetOverlaps(Vector3F, Pose, ISpatialPartitionT, Vector3F, Pose) |
Gets overlaps between all items of this spatial partition and the items of another spatial
partition.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Invalidate |
Invalidates the cached spatial information of all items in the spatial partition.
|
![]() | Invalidate(T) |
Invalidates the cached spatial information of the specified item.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Removes the first occurrence of a specific object from the BasePartitionT.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Updates the internal structure of this ISpatialPartitionT.
|
Name | Description | |
---|---|---|
![]() | AddRangeT |
Adds the specified items to the ICollectionT.
(Defined by CollectionHelper.) |
![]() | DoT(ActionT) | Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.) |
![]() | DoT(ActionT, Int32) | Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is
enumerated.
(Defined by LinqHelper.) |
![]() | ForEachT(ActionT) | Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.) |
![]() | ForEachT(ActionT, Int32) | Overloaded.
Immediately performs the given action on each element (incorporating its index) in a
sequence.
(Defined by LinqHelper.) |
![]() | IndexOfT |
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.) |
Name | Description | |
---|---|---|
![]() | Aabb |
Gets the axis-aligned bounding box (AABB) that contains all items.
|
![]() | Count |
Gets the number of items contained in the ICollectionT.
|
![]() | EnableSelfOverlaps |
Gets or sets a value indicating whether self-overlaps are computed.
|
![]() | Filter |
Gets or sets the filter that is used to filter overlaps of two items.
|
![]() | GetAabbForItem |
Gets or sets the method that computes the Aabb of an item.
|
Name | Description | |
---|---|---|
![]() ![]() | IEnumerableTGetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() ![]() | IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() ![]() | ICollectionTIsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
|
![]() ![]() | ISpatialPartitionTClone |
Creates a new spatial partition that is a clone (deep copy) of the current instance.
|