| 739 | } |
| 740 | |
| 741 | void grid_volume::print() const { |
| 742 | LOOP_OVER_DIRECTIONS(dim, d) { |
| 743 | printf("%s =%5g - %5g (%5g) \t", direction_name(d), origin.in_direction(d), |
| 744 | origin.in_direction(d) + num_direction(d) / a, num_direction(d) / a); |
| 745 | } |
| 746 | printf("\n"); |
| 747 | } |
| 748 | |
| 749 | bool grid_volume::intersect_with(const grid_volume &vol_in, grid_volume *intersection, |
| 750 | grid_volume *others, int *num_others) const { |
no outgoing calls
no test coverage detected