private void Init() { TriMeshModify.RepairSimpleHoles(this.mesh); AdjustFunction(mesh, ref function); morseType = ComputeMorse(mesh, function); morseVertice = ComputeMorseVertice(morseType); }