| 11 | } |
| 12 | |
| 13 | DataPoint DataPoint::operator/(double divisor) const |
| 14 | { |
| 15 | DataPoint result; |
| 16 | for (int i = 0; i < MAX_COLORS; ++i) { |
| 17 | result.values[i] = values[i] / divisor; |
| 18 | } |
| 19 | result.summedValues = summedValues / divisor; |
| 20 | return result; |
| 21 | } |
| 22 | |
| 23 | DataPointCollection DataPointCollection::operator+(DataPointCollection const& other) const |
| 24 | { |
nothing calls this directly
no outgoing calls
no test coverage detected