예제 #1
0
        private void PlotImplicit3DFunction(IChartAdapter3D adapter, Implicit3DParameters functionParameters)
        {
            Implicit3DFunctionPlotter plotter =
                new Implicit3DFunctionPlotter((Implicit3DFunction)functionParameters.Function);

            plotter.GridFactor = functionParameters.GridFactor;

            Point3D[] result = null;
            result = plotter.Plot(functionParameters.Point3DA, functionParameters.Point3DB, functionParameters.PixelSizeX, functionParameters.PixelSizeY, functionParameters.PixelSizeZ);
            adapter.PlotPoints(result);
        }
예제 #2
0
		private void PlotImplicit3DFunction(IChartAdapter3D adapter, Implicit3DParameters functionParameters)
		{
			Implicit3DFunctionPlotter plotter = 
				new Implicit3DFunctionPlotter((Implicit3DFunction)functionParameters.Function);
			plotter.GridFactor = functionParameters.GridFactor;

			Point3D[] result = null;
			result = plotter.Plot(functionParameters.Point3DA, functionParameters.Point3DB, functionParameters.PixelSizeX,functionParameters.PixelSizeY, functionParameters.PixelSizeZ);
			adapter.PlotPoints(result);
		}