| ContactHelperToContactSetCollection Method |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static ContactSetCollection ToContactSetCollection(
this IEnumerable<ContactSet> contactSets
)
<ExtensionAttribute>
Public Shared Function ToContactSetCollection (
contactSets As IEnumerable(Of ContactSet)
) As ContactSetCollection
public:
[ExtensionAttribute]
static ContactSetCollection^ ToContactSetCollection(
IEnumerable<ContactSet^>^ contactSets
)
[<ExtensionAttribute>]
static member ToContactSetCollection :
contactSets : IEnumerable<ContactSet> -> ContactSetCollection
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