Click or drag to resize
DigitalRuneContactSetItem Property
Gets or sets the Contact at the specified index.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public Contact this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The zero-based index of the contact to get or set.

Property Value

Type: Contact
The contact at the specified index.

Implements

IListTItemInt32
Exceptions
ExceptionCondition
NullReferenceException This ContactSet is empty.
ArgumentOutOfRangeExceptionindex is less than 0 or equal to or greater than Count.
Remarks

This indexer is an O(1) operation.

See Also