C# Класс BEPUphysics.CollisionTests.ContactReducer

Helper class that reduces contact manifolds to reasonable numbers of contacts.
Показать файл Открыть проект

Открытые методы

Метод Описание
ReduceContacts ( RawList contacts, ContactData &contactCandidate, RawList toRemove, bool &addCandidate ) : void

Reduces a 4-contact manifold and contact candidate to 4 total contacts.

ReduceContacts ( RawList contacts, RawValueList contactCandidates, RawList contactsToRemove, RawValueList toAdd ) : void

Reduces the contact manifold to a good subset.

Описание методов

ReduceContacts() публичный статический метод

Reduces a 4-contact manifold and contact candidate to 4 total contacts.
Thrown when the contact manifold being reduced doesn't have 4 contacts.
public static ReduceContacts ( RawList contacts, ContactData &contactCandidate, RawList toRemove, bool &addCandidate ) : void
contacts RawList Contacts to reduce.
contactCandidate ContactData Contact candidate to include in the reduction process.
toRemove RawList Contacts that need to be removed to reduce the manifold.
addCandidate bool Whether or not to add the contact candidate to reach the reduced manifold.
Результат void

ReduceContacts() публичный статический метод

Reduces the contact manifold to a good subset.
Thrown when the set being reduced is empty.
public static ReduceContacts ( RawList contacts, RawValueList contactCandidates, RawList contactsToRemove, RawValueList toAdd ) : void
contacts RawList Contacts to reduce.
contactCandidates RawValueList Contact candidates to include in the reduction process.
contactsToRemove RawList Contacts that need to removed to reach the reduced state.
toAdd RawValueList Contact candidates that should be added to reach the reduced state.
Результат void