Test if a value is inside a containing volume.