예제 #1
0
 public RevolutionSolidPlotter(IDefiniteIntegrator integrator, GameObject parent, Mesh lineMesh,
                               Material axisMaterial, Material functionMaterial,
                               Material planeMaterial) : base(parent, lineMesh, axisMaterial, functionMaterial, planeMaterial)
 {
     this.integrator     = integrator;
     areaPoints          = new List <Point>();
     axisEnabled[Axis.z] = false;
     scale = 0.7f;
 }
예제 #2
0
        public AreaPlotter(IDefiniteIntegrator integrator, GameObject parent, Mesh lineMesh,
                           Material axisMaterial, Material functionMaterial,
                           Material planeMaterial) : base(parent, lineMesh, axisMaterial, functionMaterial, planeMaterial)
        {
            this.topAreaPoints    = new List <Point>();
            this.bottomAreaPoints = new List <Point>();
            this.ordered          = new OrderedFunctions();
            this.integrator       = integrator;

            axisEnabled[Axis.z] = false;
            scale = 1.5f;
        }