Removes contacts if a ContactSet contains more than 4 Contacts.
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)
Syntax
| C# |
|---|
[ObfuscationAttribute(Feature = "controlflow")] public class ContactReducer : IContactFilter |
| Visual Basic |
|---|
<ObfuscationAttribute(Feature := "controlflow")> _ Public Class ContactReducer _ Implements IContactFilter |
| Visual C++ |
|---|
[ObfuscationAttribute(Feature = L"controlflow")] public ref class ContactReducer : IContactFilter |
Remarks
If the ContactSet contains 4 or less Contacts this filter does
nothing. If the ContactSet contains more than 4 Contacts, the
Contact with the deepest penetration depth is kept and 3 more
Contacts that enclose a large area. The order of the Contacts in
the ContactSet is modified.