| Vector2DIndexOfLargestComponent 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 or Y) which has the largest value. The
index is zero-based, i.e. the index of X is 0.
If both components are equal, 0 is returned.
See Also