Exemplo n.º 1
0
        private void ControlForm_Load(object sender, EventArgs e)
        {
            function        = new ThreeDimensionalFunction(30, 1, ThreeDimensionalFunctionEvaluator.fromString("sin(x) + cos(y)"));
            drawableFuncion = new DrawableFunction(this.zoomIndex, function.GetPoints());
            Panel drawingPanel = PanelGetter.GetPanel();

            functionDrawer = new FunctionDrawer(drawingPanel.CreateGraphics(), drawingPanel.BackColor, drawingPanel.Height, drawingPanel.Width);
        }
Exemplo n.º 2
0
 private void praseFunctionBtn_Click(object sender, EventArgs e)
 {
     function.UpdateZEvaluator(ThreeDimensionalFunctionEvaluator.fromString(functionField.Text));
     drawableFuncion = new DrawableFunction(this.zoomIndex, function.GetPoints());
 }