object IfCell extends Serializable

Maps all cells matching cond to Int trueValue.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IfCell
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(r1: Tile, r2: Tile, cond: (Double, Double) ⇒ Boolean, trueValue: Double, falseValue: Double): Tile

    Given a Double condition over two rasters, set the value of each cell in the output to a specified true or false value after testing the specified condition on the corresponding values in each of the two input rasters.

  2. def apply(r1: Tile, r2: Tile, cond: (Int, Int) ⇒ Boolean, trueValue: Int, falseValue: Int): Tile

    Given a condition over two rasters, set the value of each cell in the output to a specified true or false value after testing the specified condition on the corresponding values in each of the two input rasters.

  3. def apply(r1: Tile, r2: Tile, cond: (Double, Double) ⇒ Boolean, trueValue: Double): Tile

    Given a Double condition over two rasters, set the value of each cell in the output to a specified value if the condition is true given the corresponding values in each of the two input rasters.

  4. def apply(r1: Tile, r2: Tile, cond: (Int, Int) ⇒ Boolean, trueValue: Int): Tile

    Given a condition over two rasters, set the value of each cell in the output to a specified value if the condition is true given the corresponding values in each of the two input rasters.

  5. def apply(r: Tile, cond: (Double) ⇒ Boolean, trueValue: Double, falseValue: Double): Tile

    Set all values of output raster to one value or another based on whether a condition is true or false for Double values.

  6. def apply(r: Tile, cond: (Int) ⇒ Boolean, trueValue: Int, falseValue: Int): Tile

    Set all values of output raster to one value or another based on whether a condition is true or false.

  7. def apply(r: Tile, cond: (Double) ⇒ Boolean, trueValue: Double): Tile

    Maps all cells matching cond to Double trueValue.

  8. def apply(r: Tile, cond: (Int) ⇒ Boolean, trueValue: Int): Tile

    Maps all cells matching cond to Int trueValue.