Click or drag to resize
DigitalRuneBasePartitionTGetOverlaps Method (ISpatialPartitionT)
Gets overlaps between all items of this spatial partition and the items of another spatial partition.

Namespace: DigitalRune.Geometry.Partitioning
Assembly: 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
)

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
ExceptionCondition
ArgumentNullExceptionotherPartition is .
Remarks

Filtering (see Filter) is applied to filter overlaps.

See Also