Returns the volume of the box.
@override double volume() { return 8.0 * halfExtents.x * halfExtents.y * halfExtents.z; }