Click or drag to resize
DigitalRuneBasePartitionTGetOverlaps Method (T)
Gets the items that touch the given item.

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public IEnumerable<T> GetOverlaps(
	T item
)

Parameters

item
Type: T
The item. (Whether the given item must be a part of the spatial partition or whether it can be an external object depends on the GetAabbForItem callback. The GetAabbForItem must be able to compute the AABB for the given item.)

Return Value

Type: IEnumerableT
All items that touch the given item.

Implements

ISpatialPartitionTGetOverlaps(Aabb)
Remarks
Filtering (see Filter) is applied to filter overlaps.
See Also