Click or drag to resize
DigitalRuneContactHelperToContactSetCollection Method

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public static ContactSetCollection ToContactSetCollection(
	this IEnumerable<ContactSet> contactSets
)

Parameters

contactSets
Type: System.Collections.GenericIEnumerableContactSet
The contact sets.

Return Value

Type: ContactSetCollection
A ContactSetCollection that contains the elements from the input sequence.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableContactSet. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also