Ejemplo n.º 1
0
        private void baseDomain1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            double[] function = TriMeshFunction.Instance.ComputeFunction(Mesh);
            Morse    morse    = new Morse(Mesh, function);

            morse.DrawSaddleToMin(Mesh, function);


            MorseComplex bd = new MorseComplex(Mesh);

            Mesh = bd.BuildWithMax();

            bd.SetColor();


            TriMeshUtil.SetUpNormalVertex(Mesh);
        }
Ejemplo n.º 2
0
        private void baseDomain1ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            double[] function = TriMeshFunction.Instance.ComputeFunction(Mesh);
            Morse morse = new Morse(Mesh, function);
            morse.DrawSaddleToMin(Mesh, function);


            MorseComplex bd = new MorseComplex(Mesh);
            Mesh = bd.BuildWithMax();

            bd.SetColor();


            TriMeshUtil.SetUpNormalVertex(Mesh);
        }