Click or drag to resize
DigitalRuneVector4DIndexOfSmallestComponent Property
Gets the index (zero-based) of the smallest component.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public int IndexOfSmallestComponent { get; }

Property Value

Type: Int32
The index (zero-based) of the smallest component.
Remarks

This method returns the index of the component (X, Y, Z or W) which has the smallest value. The index is zero-based, i.e. the index of X is 0.

If there are several components with equally small values, the smallest index of these is returned.

See Also