| 142 | } |
| 143 | |
| 144 | bool cuboid::isValid() const { |
| 145 | return x_min >= 0 && y_min >= 0 && z_min >= 0 && |
| 146 | x_max >= x_min && y_max >= y_min && z_max >= z_min; |
| 147 | } |
| 148 | |
| 149 | cuboid cuboid::clamp(const cuboid &other) |
| 150 | { |
no outgoing calls
no test coverage detected