geotrellis.operation

BinaryDoCell

case class BinaryDoCell (r1: Op[IntRaster], r2: Op[IntRaster], f: (Int, Int) ⇒ Int) extends Op[IntRaster] 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[IntRaster], 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[IntRaster], r2: Op[IntRaster], f: (Int, Int) ⇒ Int)

Type Members

  1. type Steps = PartialFunction[Any, StepOutput[IntRaster]]

    Definition Classes
    Operation

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. def _run (context: Context): StepOutput[IntRaster]

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

    Attributes
    final
    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[IntRaster]

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

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  17. def handleCells (z1: Int, z2: Int): Int

    Definition Classes
    BinaryDoCellBinaryLocal
  18. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  20. def name : String

    Return operation identified (class simple name).

    Return operation identified (class simple name).

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

    Attributes
    final
    Definition Classes
    AnyRef
  22. val nextSteps : Steps

    Definition Classes
    BinaryLocalOperation
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def productArity : Int

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

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

    Definition Classes
    Product
  28. def productPrefix : String

    Definition Classes
    BinaryDoCell → Product
  29. val r1 : Op[IntRaster]

    Definition Classes
    BinaryDoCellBinaryLocal
  30. val r2 : Op[IntRaster]

    Definition Classes
    BinaryDoCellBinaryLocal
  31. def run (context: Context): StepOutput[IntRaster]

    Execute this operation and return the result.

    Execute this operation and return the result.

    Definition Classes
    Operation
  32. def runAsync (args: Args): StepOutput[IntRaster]

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

    Attributes
    final
    Definition Classes
    AnyRef
  34. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from BinaryLocal

Inherited from LocalOperation

Inherited from Operation[IntRaster]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any