Returns index of the coordinate with maximum value.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public int MaxIndex { get; }

Remarks

Returns index of the coordinate, which has the maximum value - 0 for X, 1 for Y or 2 for Z.

Note:If there are multiple coordinates which have the same maximum value, the property returns smallest index.

See Also