geotrellis.raster.op.local

BinaryDoCell

case class BinaryDoCell(r1: Op[Raster], r2: Op[Raster], f: (Int, Int) ⇒ Int) extends Op[Raster] with BinaryLocal with Product with Serializable

Perform a function on every cell in a raster with the values from another raster.

For example,

val A = LoadFile(a)
val B = LoadFile(b)

// Generate a raster by adding the values of each cell in A and B
val D = BinaryDoCell(R, (a, b) => a + b )

Linear Supertypes
Serializable, Serializable, BinaryLocal, LocalOperation, Operation[Raster], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BinaryDoCell
  2. Serializable
  3. Serializable
  4. BinaryLocal
  5. LocalOperation
  6. Operation
  7. Product
  8. Equals
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BinaryDoCell(r1: Op[Raster], r2: Op[Raster], f: (Int, Int) ⇒ Int)

Type Members

  1. type Args = List[Any]

    Definition Classes
    Operation
  2. type Steps = PartialFunction[Any, StepOutput[Raster]]

    Definition Classes
    Operation

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def _run(context: Context): StepOutput[Raster]

    Definition Classes
    BinaryLocalOperation
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(arg0: Any): Boolean

    Definition Classes
    BinaryDoCell → Equals
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. val debug: Boolean

    Definition Classes
    Operation
  11. def dispatch(dispatcher: ActorRef): DispatchedOperation[Raster]

    Definition Classes
    Operation
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    BinaryDoCell → Equals → AnyRef → Any
  14. val f: (Int, Int) ⇒ Int

  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def handle(z1: Int, z2: Int): Int

    Definition Classes
    BinaryDoCellBinaryLocal
  18. def handleDouble(z1: Double, z2: Double): Double

    Definition Classes
    BinaryDoCellBinaryLocal
  19. def hashCode(): Int

    Definition Classes
    BinaryDoCell → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def name: String

    Return operation identified (class simple name).

    Return operation identified (class simple name).

    Definition Classes
    Operation
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. val nextSteps: Steps

    Definition Classes
    BinaryLocalOperation
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def productArity: Int

    Definition Classes
    BinaryDoCell → Product
  27. def productElement(arg0: Int): Any

    Definition Classes
    BinaryDoCell → Product
  28. def productIterator: Iterator[Any]

    Definition Classes
    Product
  29. def productPrefix: String

    Definition Classes
    BinaryDoCell → Product
  30. val r1: Op[Raster]

    Definition Classes
    BinaryDoCellBinaryLocal
  31. val r2: Op[Raster]

    Definition Classes
    BinaryDoCellBinaryLocal
  32. def run(context: Context): StepOutput[Raster]

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  33. def runAsync(args: Args): StepOutput[Raster]

    Definition Classes
    Operation
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    BinaryDoCell → AnyRef → Any
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from BinaryLocal

Inherited from LocalOperation

Inherited from Operation[Raster]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any