Example #1
0
 /// <summary>Initializes a new instance of the NugenCCalcComponent3D class</summary>
 public NugenCCalc3D()
 {
     ///
     /// Required for Windows.Forms Class Composition Designer support
     ///
     _functionParameters = new Explicit3DParameters();
     InitializeComponent();
     InitComponent();
 }
Example #2
0
		/// <summary>Initializes a new instance of the NugenCCalcComponent3D class</summary>
		public NugenCCalc3D()
		{
			///
			/// Required for Windows.Forms Class Composition Designer support
			///
			_functionParameters = new Explicit3DParameters();
			InitializeComponent();
			InitComponent();
		}
Example #3
0
        private void PlotExplicit3DFunction(IChartAdapter3D adapter, Explicit3DParameters functionParameters)
        {
            Explicit3DFunctionPlotter plotter =
                new Explicit3DFunctionPlotter((Explicit3DFunction)functionParameters.Function);

            double[,] result = null;
            result           = plotter.Plot(functionParameters.PointA, functionParameters.PointB, functionParameters.AreaSize);

            adapter.PlotSurface(functionParameters.PointA, functionParameters.PointB, result);
        }
Example #4
0
		private void PlotExplicit3DFunction(IChartAdapter3D adapter, Explicit3DParameters functionParameters)
		{
			Explicit3DFunctionPlotter plotter = 
				new Explicit3DFunctionPlotter((Explicit3DFunction)functionParameters.Function);
			double[,] result = null;
			result = plotter.Plot(functionParameters.PointA, functionParameters.PointB, functionParameters.AreaSize);

			adapter.PlotSurface(functionParameters.PointA, functionParameters.PointB,result);
		}