Clusters2D Class |
Namespace: TouchScript.Clusters
public sealed class Clusters2D
The Clusters2D type exposes the following members.
| Name | Description | |
|---|---|---|
| Clusters2D |
Initializes a new instance of the Clusters2D class.
|
| 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.
|
| 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.
|