This document is archived and information here might be outdated.  Recommended version.


ITerrainFieldStatistics.GetUniqueValuesAsDouble Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainFieldStatistics Interface > ITerrainFieldStatistics.GetUniqueValuesAsDouble Method
ArcGIS Developer Help

ITerrainFieldStatistics.GetUniqueValuesAsDouble Method

Returns the unique values.

[Visual Basic .NET]
Public Function GetUniqueValuesAsDouble ( _
) As IDoubleArray
[C#]
public IDoubleArray GetUniqueValuesAsDouble (
);
[C++]
HRESULT GetUniqueValuesAsDouble(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

See Also

ITerrainFieldStatistics Interface