Click or drag to resize
DigitalRuneIPairFilterT Interface
Filters a pair of items.

Namespace: DigitalRune.Geometry.Partitioning
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public interface IPairFilter<T>

Type Parameters

T
The type of the items.

The IPairFilterT type exposes the following members.

Methods
  NameDescription
Public methodFilter
Filters the specified item pair.
Top
Events
  NameDescription
Public eventChanged
Occurs when the filter rules were changed.
Top
Remarks

A IPairFilterT is usually used to remove item pairs, so that they are not processed. Filter(PairT) returns if an item pair should be processed (item pair is accepted). Filter(PairT) returns if an item pair should not be processed (item pair is rejected).

Notes to Implementors: The filter rules must be consistent. In most applications the order of the items in the pair should not matter. And Filter(PairT) should always return the same result for the same pair. If the filter rules are changed, the Changed event must be raised.

See Also