Returns the unique values.
[Visual Basic .NET] Public Function GetUniqueValuesAsDouble ( _ ) As IDoubleArray
[C#] public IDoubleArray GetUniqueValuesAsDouble ( );
[C++]
HRESULT GetUniqueValuesAsDouble(
IDoubleArray** ppValues
);
[C++]Parameters
ppValues [out, retval]ppValues is a parameter of type IDoubleArray
Product Availability
Description
Returns an array containing the unique values for the set of observations. For example, if a collection of 1000 observations only contains a few different values, say 1.1, 5.4. and 10.3, it is this function which returns just those three values.
Use ITerrainFieldStatistics.UniqueValueType to determine whether to obtain the values using this method or ITerrainFieldStatistics.GetUniqueValuesAsLong.
There is a one to one correspondence between the values in this array and those returned by GetUniqueValueCounts. The latter contains the number of observed values.
This method stops collecting unique values when there's more than 256. That indicates the data is more continuous in nature than discrete.