This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IC > IClassifyGEN Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control classification.
Classify objects apply one of several methods to statistically subdivide a set of numeric values into classes.
The IClassifyGEN interface is implemented by all the data classification objects (DefinedInterval, EqualInterval, NaturalBreaks, Quantile, StandardDeviation); this is the interface used to pass in histogram data and then classify it into breaks. The ClassID and MethodName properties are used by user interface dialog boxes to identify the classification object and establish what the classification is called.
In general, to classify a dataset, use this interface together with IClassBreaksRenderer. Use the Classify method to add data to the classification; set the number of classes; and generate breaks (typically use the same number of classes specified here for IClassBreaksRenderer.BreakCount). Then apply the classification to the renderer by cycling through ClassBreaks and setting each IClassBreaksRenderer.Break.
Description | ||
---|---|---|
ClassBreaks | The array of class breaks (double). ClassBreaks(0) is the minimum value in the dataset, and subsequent breaks represent the upper limit of each class. | |
ClassID | The CLSID for the classification object. | |
Classify | Classifies histogram data (array of values (doubles) and a paired array of frequencies (longs)) into the specified number of classes. | |
MethodName | The name of the classification method (based on choice of classification object). |
CoClasses and Classes | Description |
---|---|
DefinedInterval | Defines a defined interval classification method. |
EqualInterval | Defines an equal interval classification method. |
GeometricalInterval | Defines a geometrical interval classification method. |
NaturalBreaks | Defines a natural breaks classification method. |
Quantile | Defines a quantile classification method. |
StandardDeviation | Defines a standard deviation classification method. |
The IClassifyGEN interface has been created to use in place of IClassify.