예제 #1
0
        private void PlotConstantFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
        {
            ConstantFunctionPlotter plotter =
                new ConstantFunctionPlotter((Constant)implicitParameters.Function);

            double[] result = null;
            //result = plotter.Plot()

            adapter.Plot(result, _series);
        }
예제 #2
0
        private void PlotExplicitFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
        {
            Explicit2DFunctionPlotter plotter =
                new Explicit2DFunctionPlotter((Explicit2DFunction)implicitParameters.Function);

            double[] result = null;

            plotter.Plot(implicitParameters.PointA, implicitParameters.PointB, implicitParameters.AreaSize);

            adapter.Plot(result, _series);
        }
예제 #3
0
        private void PlotImplicit2DFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
        {
            Implicit2DFunctionPlotter plotter =
                new Implicit2DFunctionPlotter((Implicit2DFunction)implicitParameters.Function);

            plotter.GridFactor = implicitParameters.GridFactor;
            Point2D[] resultPoints = plotter.Plot(
                implicitParameters.PointA,
                implicitParameters.PointB,
                implicitParameters.AreaSize);

            adapter.SetAxes(implicitParameters.PointA.X,
                            implicitParameters.PointB.X,
                            implicitParameters.PointA.Y,
                            implicitParameters.PointB.Y);

            adapter.Plot(resultPoints, _series);
        }
예제 #4
0
		private void PlotImplicit2DFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
		{
			Implicit2DFunctionPlotter plotter = 
				new Implicit2DFunctionPlotter((Implicit2DFunction)implicitParameters.Function);

			plotter.GridFactor = implicitParameters.GridFactor;
			Point2D[] resultPoints = plotter.Plot(
				implicitParameters.PointA, 
				implicitParameters.PointB, 
				implicitParameters.AreaSize);

			adapter.SetAxes(implicitParameters.PointA.X, 
				implicitParameters.PointB.X, 
				implicitParameters.PointA.Y, 
				implicitParameters.PointB.Y);

			adapter.Plot(resultPoints, _series);
		}
예제 #5
0
		private void PlotConstantFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
		{
			ConstantFunctionPlotter plotter = 
				new ConstantFunctionPlotter((Constant)implicitParameters.Function);
			double[] result = null;
			//result = plotter.Plot()

			adapter.Plot(result, _series);

		}
예제 #6
0
		private void PlotExplicitFunction(IChartAdapter2D adapter, Implicit2DParameters implicitParameters)
		{
			Explicit2DFunctionPlotter plotter = 
				new Explicit2DFunctionPlotter((Explicit2DFunction)implicitParameters.Function);

			double[] result = null;

			plotter.Plot(implicitParameters.PointA, implicitParameters.PointB, implicitParameters.AreaSize);

			adapter.Plot(result, _series);
		}