C# Класс CCT.NUI.Core.Clustering.ClusterPrototype

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
center System.Point
points IList

Открытые методы

Метод Описание
AddPoint ( System.Point point ) : void
Calc2DDistance ( System.Point point ) : double
ClearPoints ( ) : void
ClusterPrototype ( System.Point center ) : System
ClusterPrototype ( System.Point center, IList points ) : System
ClusterPrototype ( int x, int y, int z ) : System
DistanceMetric ( ClusterPrototype otherCluster ) : double
FinishAddingPoints ( ) : void
Flatten ( int maxDepth ) : void
Merge ( ClusterPrototype cluster1, ClusterPrototype cluster2 ) : ClusterPrototype
SetCenter ( int x, int y, int z ) : void
ToCluster ( ) : Cluster

Приватные методы

Метод Описание
CalculateCenter ( ) : void

Описание методов

AddPoint() публичный Метод

public AddPoint ( System.Point point ) : void
point System.Point
Результат void

Calc2DDistance() публичный Метод

public Calc2DDistance ( System.Point point ) : double
point System.Point
Результат double

ClearPoints() публичный Метод

public ClearPoints ( ) : void
Результат void

ClusterPrototype() публичный Метод

public ClusterPrototype ( System.Point center ) : System
center System.Point
Результат System

ClusterPrototype() публичный Метод

public ClusterPrototype ( System.Point center, IList points ) : System
center System.Point
points IList
Результат System

ClusterPrototype() публичный Метод

public ClusterPrototype ( int x, int y, int z ) : System
x int
y int
z int
Результат System

DistanceMetric() публичный Метод

public DistanceMetric ( ClusterPrototype otherCluster ) : double
otherCluster ClusterPrototype
Результат double

FinishAddingPoints() публичный Метод

public FinishAddingPoints ( ) : void
Результат void

Flatten() публичный Метод

public Flatten ( int maxDepth ) : void
maxDepth int
Результат void

Merge() публичный статический Метод

public static Merge ( ClusterPrototype cluster1, ClusterPrototype cluster2 ) : ClusterPrototype
cluster1 ClusterPrototype
cluster2 ClusterPrototype
Результат ClusterPrototype

SetCenter() публичный Метод

public SetCenter ( int x, int y, int z ) : void
x int
y int
z int
Результат void

ToCluster() публичный Метод

public ToCluster ( ) : Cluster
Результат Cluster

Описание свойств

center защищенное свойство

protected Point,System center
Результат System.Point

points защищенное свойство

protected IList points
Результат IList