Return true if the point at (x,y,z) is contained within this Cuboid. @param x the X co-ordinate @param y the Y co-ordinate @param z the Z co-ordinate @return true if the given point is within this Cuboid, false otherwise
(int x, int y, int z)
| 424 | * @return true if the given point is within this Cuboid, false otherwise |
| 425 | */ |
| 426 | public boolean contains(int x, int y, int z) { |
| 427 | return x >= x1 && x <= x2 && y >= y1 && y <= y2 && z >= z1 && z <= z2; |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Check if the given Block is contained within this Cuboid. |
no test coverage detected