Пример #1
0
        private void PlotParametric3DFunction(IChartAdapter3D adapter, Parametric3DParameters functionParameters)
        {
            Parameter3DFunctionPlotter plotter =
                new Parameter3DFunctionPlotter((Parameter3DFunction)functionParameters.Function);

            Point3D[] result = null;
            result = plotter.Plot(functionParameters.Min, functionParameters.Max, functionParameters.NumPoints);
            adapter.PlotPoints(result);
        }
Пример #2
0
		private void PlotParametric3DFunction(IChartAdapter3D adapter, Parametric3DParameters functionParameters)
		{
			Parameter3DFunctionPlotter plotter = 
				new Parameter3DFunctionPlotter((Parameter3DFunction)functionParameters.Function);
			Point3D[] result = null;
			result = plotter.Plot(functionParameters.Min, functionParameters.Max, functionParameters.NumPoints);
			adapter.PlotPoints(result);
		}