getAllParticleIndices method

List<int> getAllParticleIndices()

Gets indices of all particles in the tree

Implementation

List<int> getAllParticleIndices() {
  return _root.getAllParticles().map((p) => p.index).toList();
}