Click or drag to resize
DigitalRuneBasePartitionT Class
Inheritance Hierarchy
SystemObject
  DigitalRune.Geometry.PartitioningBasePartitionT
    DigitalRune.Geometry.PartitioningAabbTreeT
    DigitalRune.Geometry.PartitioningAdaptiveAabbTreeT
    DigitalRune.Geometry.PartitioningDualPartitionT
    DigitalRune.Geometry.PartitioningDynamicAabbTreeT
    DigitalRune.Geometry.PartitioningSweepAndPruneSpaceT

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public abstract class BasePartition<T> : ISpatialPartition<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
The type of items in the spatial partition.

The BasePartitionT type exposes the following members.

Constructors
  NameDescription
Protected methodBasePartitionT
Initializes a new instance of the BasePartitionT class.
Top
Methods
  NameDescription
Public methodAdd
Adds an item to the BasePartitionT.
Public methodClear
Removes all items from the BasePartitionT.
Public methodClone
Creates a new BasePartitionT that is a clone (deep copy) of the current instance.
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified BasePartitionT.
Public methodContains
Determines whether the BasePartitionT contains a specific value.
Public methodCopyTo
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the BasePartitionT derived class.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOverlaps
Gets overlaps of all items contained in this spatial partition.
Public methodGetOverlaps(T)
Gets the items that touch the given item.
Public methodGetOverlaps(Aabb)
Gets the items that touch the given axis-aligned bounding box (AABB).
Public methodGetOverlaps(ISpatialPartitionT)
Gets overlaps between all items of this spatial partition and the items of another spatial partition.
Public methodGetOverlaps(Ray)
Gets the items that touch the given ray.
Public methodGetOverlaps(Vector3F, Pose, ISpatialPartitionT, Vector3F, Pose)
Gets overlaps between all items of this spatial partition and the items of another spatial partition.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvalidate
Invalidates the cached spatial information of all items in the spatial partition.
Public methodInvalidate(T)
Invalidates the cached spatial information of the specified item.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the BasePartitionT.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeT (Defined by CollectionHelper.)
Public Extension MethodDoT(ActionT)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoT(ActionT, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachT(ActionT)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachT(ActionT, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfT
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.)
Top
Properties
  NameDescription
Public propertyAabb
Gets the axis-aligned bounding box (AABB) that contains all items.
Public propertyCount
Public propertyEnableSelfOverlaps
Gets or sets a value indicating whether self-overlaps are computed.
Public propertyFilter
Gets or sets the filter that is used to filter overlaps of two items.
Public propertyGetAabbForItem
Gets or sets the method that computes the Aabb of an item.
Top
Explicit Interface Implementations
See Also