Click or drag to resize
DigitalRuneVector4DItem Property
Gets or sets the component at the specified index.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public double this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The index.

Property Value

Type: Double
The component at index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The index is out of range.
Remarks
The index is zero based: x = vector[0], y = vector[1] ... w = vector[3].
See Also