ContactSetCollection Class |
Namespace: DigitalRune.Geometry.Collisions
The ContactSetCollection type exposes the following members.
Name | Description | |
---|---|---|
ContactSetCollection |
Initializes a new instance of the ContactSetCollection class.
| |
ContactSetCollection(IEnumerableContactSet) |
Initializes a new instance of the ContactSetCollection class with the given
contact sets.
|
Name | Description | |
---|---|---|
Add |
Adds the specified contact set to the collection.
| |
Clear |
Removes all contact sets from the collection.
| |
Contains(ContactSet) |
Determines whether the collection contains the specified contact set.
| |
Contains(PairCollisionObject) |
Determines whether the collection contains a contact set for the given pair of
collision objects.
| |
Contains(CollisionObject, CollisionObject) |
Determines whether the collection contains a contact set for the given pair of collision
objects.
| |
CopyTo | ||
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetContacts(CollisionObject) |
Gets the contact sets for the specified collision object.
| |
GetContacts(PairCollisionObject) |
Gets the contact set with the contacts between the specified pair of collision objects.
| |
GetContacts(CollisionObject, CollisionObject) |
Gets the contact set with the contacts between the specified collision objects.
| |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(CollisionObject) |
Removes the contact sets for the given collision object.
| |
Remove(ContactSet) |
Removes the first occurrence of a specific object from the ICollectionT.
| |
Remove(PairCollisionObject) |
Removes the contact set for the given pair of CollisionObjects.
| |
Remove(CollisionObject, CollisionObject) |
Removes the contact set for the given pair of collision objects.
| |
ToArray |
Copies the contact sets of the collection to a new array.
| |
ToString | (Overrides ObjectToString.) | |
TryGet(PairCollisionObject, ContactSet) |
Gets the contact set for the given pair of collision objects.
| |
TryGet(CollisionObject, CollisionObject, ContactSet) |
Gets the contact sets for the given pair of collision objects.
|
Name | Description | |
---|---|---|
AddRangeContactSet |
Adds the specified items to the ICollectionT.
(Defined by CollectionHelper.) | |
DoContactSet(ActionContactSet) | Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.) | |
DoContactSet(ActionContactSet, Int32) | Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is
enumerated.
(Defined by LinqHelper.) | |
ForEachContactSet(ActionContactSet) | Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.) | |
ForEachContactSet(ActionContactSet, Int32) | Overloaded.
Immediately performs the given action on each element (incorporating its index) in a
sequence.
(Defined by LinqHelper.) | |
IndexOfContactSet |
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.) | |
ToContactSetCollection |
Creates a ContactSetCollection from an IEnumerableT.
(Defined by ContactHelper.) |
Name | Description | |
---|---|---|
IEnumerableContactSetGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
ICollectionContactSetIsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
|