geotrellis.raster.op.focal

SurfacePointCalculation

trait SurfacePointCalculation[T] extends FocalCalculation[T]

Calculation used for surface point calculations such as Slope, Aspect, and Hillshade

Uses a specific traversal strategy for performance benefits.

Note

For edge cells, the neighborhood points that lie outside the extent of the raster will be counted as having the same value as the focal point.

Linear Supertypes
FocalCalculation[T], Resulting[T], AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SurfacePointCalculation
  2. FocalCalculation
  3. Resulting
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def result: T

    Definition Classes
    Resulting
  2. abstract def setValue(x: Int, y: Int, s: SurfacePoint): Unit

    Sets a result at (x,y) from a SurfacePoint

    Sets a result at (x,y) from a SurfacePoint

    Implementors need to provide this function to store the results of the surface point calculation.

    See also

    For an example, see Aspect

Concrete 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. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SurfacePointCalculation[T], B)

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to ArrowAssoc[SurfacePointCalculation[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. var base: Array[Double]

  10. def calcSurface(): Unit

    Attributes
    protected
  11. var cellHeight: Double

  12. var cellWidth: Double

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. var east: Array[Double]

  15. def ensuring(cond: (SurfacePointCalculation[T]) ⇒ Boolean, msg: ⇒ Any): SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (SurfacePointCalculation[T]) ⇒ Boolean): SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  21. def execute(r: Raster, n: Neighborhood, reOpt: Option[RasterExtent]): Unit

    Executes a specific traversal strategy for SurfacePointCalculation.

    Executes a specific traversal strategy for SurfacePointCalculation. The difference between this and ScanLine for CellwiseCalculation is that for edge cases, the value at the focus is added in place of out-of-border neighborhood values.

    r

    Raster to execute against.

    n

    Neighborhood used (must be Square with dimension 1)

    Definition Classes
    SurfacePointCalculationFocalCalculation
    Note

    All values in the neighborhood that are outside the raster grid are counted as having the focal value. Note that in the case the cell is outside the analysis area, but still inside the raster, the raster value will still be used.

    ,

    Assumes a Square(1) neighborhood.

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

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

    Definition Classes
    Any
  27. var lastY: Int

  28. def moveRight(): Unit

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

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

    Definition Classes
    AnyRef
  32. val s: SurfacePoint

  33. def setValue(x: Int, y: Int): Unit

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

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    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()
  39. var west: Array[Double]

  40. def [B](y: B): (SurfacePointCalculation[T], B)

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to ArrowAssoc[SurfacePointCalculation[T]] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (surfacePointCalculation: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (surfacePointCalculation: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to ArrowAssoc[SurfacePointCalculation[T]] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (surfacePointCalculation: ArrowAssoc[SurfacePointCalculation[T]]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SurfacePointCalculation[T]

    Implicit information
    This member is added by an implicit conversion from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (surfacePointCalculation: Ensuring[SurfacePointCalculation[T]]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from FocalCalculation[T]

Inherited from Resulting[T]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SurfacePointCalculation[T] to StringAdd

Inherited by implicit conversion any2stringfmt from SurfacePointCalculation[T] to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SurfacePointCalculation[T] to ArrowAssoc[SurfacePointCalculation[T]]

Inherited by implicit conversion any2Ensuring from SurfacePointCalculation[T] to Ensuring[SurfacePointCalculation[T]]

Ungrouped