/// <summary> /// Executes RastersMultiply Opaeration tool programaticaly /// Ping Yang deleted static property for external testing 01/2010. /// </summary> /// <param name="input1">The original input input raster for raster multiplication.</param> /// <param name="input2">The second input raster with values to multiply by.</param> /// <param name="output">The output raster.</param> /// <param name="cancelProgressHandler">The progress handler.</param> /// <returns>Boolean, true if the execute was successful.</returns> public bool Execute(IRaster input1, IRaster input2, IRaster output, ICancelProgressHandler cancelProgressHandler) { RasterMagic magic = new RasterMagic(Operation); return magic.RasterMath(input1, input2, output, cancelProgressHandler); }
/// <summary> /// Executes RastersMultiply Opaeration tool programaticaly /// Ping Yang deleted static property for external testing 01/2010. /// </summary> /// <param name="input1">The original input input raster for raster multiplication.</param> /// <param name="input2">The second input raster with values to multiply by.</param> /// <param name="output">The output raster.</param> /// <param name="cancelProgressHandler">The progress handler.</param> /// <returns>Boolean, true if the execute was successful.</returns> public bool Execute(IRaster input1, IRaster input2, IRaster output, ICancelProgressHandler cancelProgressHandler) { RasterMagic magic = new RasterMagic(Operation); return(magic.RasterMath(input1, input2, output, cancelProgressHandler)); }