| Vector3DIndexOfLargestComponent Property |
Gets the index (zero-based) of the largest component.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public int IndexOfLargestComponent { get; }
Public ReadOnly Property IndexOfLargestComponent As Integer
Get
public:
property int IndexOfLargestComponent {
int get ();
}
member IndexOfLargestComponent : int with get
Property Value
Type:
Int32The 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