Clusters all leafs by focusing on the euclidean distance.
Recursively merges two of the remaining clusters to one parentcluster, until only one is left.
The last cluster contains all leafs on one side of the root, structured as a binary tree.
(Each detected tree will be stored)
Namespace:
FlowMap
Assembly:
FlowMap (in FlowMap.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub BuildTree ( _
_clusterCollection As Hashtable, _
_rootPosition As Vector3, _
<OutAttribute> ByRef _rootedTrees As Hashtable _
) |
C# |
---|
public static void BuildTree(
Hashtable _clusterCollection,
Vector3 _rootPosition,
out Hashtable _rootedTrees
) |
Visual C++ |
---|
public:
static void BuildTree(
Hashtable^ _clusterCollection,
Vector3 _rootPosition,
[OutAttribute] Hashtable^% _rootedTrees
) |
JavaScript |
---|
FlowMap.RootedClustering.buildTree = function(_clusterCollection, _rootPosition, _rootedTrees); |
Parameters
- _clusterCollection
- Type: System.Collections..::.Hashtable
List of leaf clusters (including the root) that are to be clustered
- _rootPosition
- Type: Vector3
Position of the root element
- _rootedTrees
- Type:
System.Collections..::.Hashtable
%
List of established trees
See Also