Add a half-edge mesh class.