mesh class