| 119 | } |
| 120 | |
| 121 | void ClusteredDataDescription::shift(RealVector2D const& delta) |
| 122 | { |
| 123 | for (auto& cluster : clusters) { |
| 124 | for (auto& cell : cluster.cells) { |
| 125 | cell.pos += delta; |
| 126 | } |
| 127 | } |
| 128 | for (auto& particle : particles) { |
| 129 | particle.pos += delta; |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | int ClusteredDataDescription::getNumberOfCellAndParticles() const |
| 134 | { |
no outgoing calls
no test coverage detected