ClusterResult

The result of groupIntoClusters(): the computed clusters, plus the sorted-by-minX ordering it used this frame - feed sortedIds back in as previousOrderIds next frame to keep the incremental sort cheap (see sortByMinXIncremental).

Properties

  • clusters (dynamic)
  • sortedIds (dynamic)