| BasePartitionTGetOverlaps Method (ISpatialPartitionT) |
Gets overlaps between all items of this spatial partition and the items of another spatial
partition.
Namespace: DigitalRune.Geometry.PartitioningAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public virtual IEnumerable<Pair<T>> GetOverlaps(
ISpatialPartition<T> otherPartition
)
Public Overridable Function GetOverlaps (
otherPartition As ISpatialPartition(Of T)
) As IEnumerable(Of Pair(Of T))
public:
virtual IEnumerable<Pair<T>>^ GetOverlaps(
ISpatialPartition<T>^ otherPartition
)
abstract GetOverlaps :
otherPartition : ISpatialPartition<'T> -> IEnumerable<Pair<'T>>
override GetOverlaps :
otherPartition : ISpatialPartition<'T> -> IEnumerable<Pair<'T>>
Parameters
- otherPartition
- Type: DigitalRune.Geometry.PartitioningISpatialPartitionT
The spatial partition to test against.
Return Value
Type:
IEnumerablePairT
All pairwise overlaps between items of this spatial partition and
otherPartition. In each returned
PairT the first item
(see
First) is from this partition and the second item (see
Second) is from
otherPartition.
Implements
ISpatialPartitionTGetOverlaps(ISpatialPartitionT)Exceptions Remarks
Filtering (see Filter) is applied to filter overlaps.
See Also