C# Class CCT.NUI.Core.Clustering.ClusterPrototype

Mostra file Open project: an83/KinectTouch2 Class Usage Examples

Protected Properties

Property Type Description
center System.Point
points IList

Public Methods

Method Description
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

Private Methods

Method Description
CalculateCenter ( ) : void

Method Details

AddPoint() public method

public AddPoint ( System.Point point ) : void
point System.Point
return void

Calc2DDistance() public method

public Calc2DDistance ( System.Point point ) : double
point System.Point
return double

ClearPoints() public method

public ClearPoints ( ) : void
return void

ClusterPrototype() public method

public ClusterPrototype ( System.Point center ) : System
center System.Point
return System

ClusterPrototype() public method

public ClusterPrototype ( System.Point center, IList points ) : System
center System.Point
points IList
return System

ClusterPrototype() public method

public ClusterPrototype ( int x, int y, int z ) : System
x int
y int
z int
return System

DistanceMetric() public method

public DistanceMetric ( ClusterPrototype otherCluster ) : double
otherCluster ClusterPrototype
return double

FinishAddingPoints() public method

public FinishAddingPoints ( ) : void
return void

Flatten() public method

public Flatten ( int maxDepth ) : void
maxDepth int
return void

Merge() public static method

public static Merge ( ClusterPrototype cluster1, ClusterPrototype cluster2 ) : ClusterPrototype
cluster1 ClusterPrototype
cluster2 ClusterPrototype
return ClusterPrototype

SetCenter() public method

public SetCenter ( int x, int y, int z ) : void
x int
y int
z int
return void

ToCluster() public method

public ToCluster ( ) : Cluster
return Cluster

Property Details

center protected_oe property

protected Point,System center
return System.Point

points protected_oe property

protected IList points
return IList