| Clusters2D Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: TouchScript.Clusters
 Syntax
Syntaxpublic sealed class Clusters2D
The Clusters2D type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | Clusters2D | 
            Initializes a new instance of the Clusters2D class.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | HasClusters | 
            Indicates that this cluster instance has two valid clusters.
             | 
|  | MinPointsDistance | 
            Gets or sets minimum distance in pixels between clusters to treat them as two separate clusters.
             | 
|  | PointsCount | 
            Gets the total number of points in clusters represented by this object.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddPoint | 
            Adds a pointer to cluster.  | 
|  | AddPoints | 
            Adds a list of pointers to cluster.
             | 
|  | GetCenterPosition | 
            Calculates the center position of one of the clusters.
             | 
|  | GetPreviousCenterPosition | 
            Calculates previous center position of one of the clusters.
             | 
|  | Invalidate | 
            Invalidates cluster state. Call this method to recalculate cluster properties.
             | 
|  | RemoveAllPoints | 
            Removes all pointers from cluster.
             | 
|  | RemovePoint | 
            Removes a pointer from cluster.
             | 
|  | RemovePoints | 
            Removes a list of pointers from cluster.
             | 
 Fields
Fields See Also
See Also