A class of more than 1.5 million consumers and 24-Hour Fitness Center Worldwide Inc. have announced a $295 million settlement in a class action involving membership dues.