Implemented TriMesh object.