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

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

Property Value

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

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

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

See Also