| BasePartitionTGetOverlaps Method (T) |
Gets the items that touch the given item.
Namespace: DigitalRune.Geometry.PartitioningAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public IEnumerable<T> GetOverlaps(
T item
)
Public Function GetOverlaps (
item As T
) As IEnumerable(Of T)
public:
virtual IEnumerable<T>^ GetOverlaps(
T item
) sealed
abstract GetOverlaps :
item : 'T -> IEnumerable<'T>
override GetOverlaps :
item : 'T -> IEnumerable<'T>
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:
IEnumerableTAll items that touch the given item.
Implements
ISpatialPartitionTGetOverlaps(Aabb)Remarks
Filtering (see
Filter) is applied to filter overlaps.
See Also