Skip to content

Interface: ClusterResult

Defined in: src/utils/statistics.ts:28

Result of cluster finding

Properties

clusterIds

ts
clusterIds: Int32Array;

Defined in: src/utils/statistics.ts:30

Per-vertex cluster ID (-1 = not in any cluster)


clusterSizes

ts
clusterSizes: Map<number, number>;

Defined in: src/utils/statistics.ts:32

Map from cluster ID to vertex count


clusterCount

ts
clusterCount: number;

Defined in: src/utils/statistics.ts:34

Total number of clusters found

Released under the MIT License.