Class

geotrellis.raster.mapalgebra.focal.hillshade

SurfacePointCalculation

Related Doc: package hillshade

Permalink

abstract class 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SurfacePointCalculation
  2. FocalCalculation
  3. Resulting
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SurfacePointCalculation(r: Tile, n: Neighborhood, analysisArea: Option[GridBounds], cellSize: CellSize, target: TargetCell = TargetCell.All)

    Permalink

Abstract Value Members

  1. abstract val copyOriginalValue: (Int, Int, Int, Int) ⇒ Unit

    Permalink

    Copies original value to result, (focusCol: Int, focusRow: Int, resultCol: Int, rowRow: Int) => Unit

    Copies original value to result, (focusCol: Int, focusRow: Int, resultCol: Int, rowRow: Int) => Unit

    Definition Classes
    Resulting
  2. abstract def result: T

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

    Permalink

    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.

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. var base: Array[Double]

    Permalink
  6. val bounds: GridBounds

    Permalink
    Definition Classes
    FocalCalculation
  7. def calcSurface(): Unit

    Permalink
    Attributes
    protected
  8. var cellHeight: Double

    Permalink
  9. val cellSize: CellSize

    Permalink
  10. var cellWidth: Double

    Permalink
  11. def clone(): AnyRef

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

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def execute(): T

    Permalink

    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.

    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.

  16. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  20. var lastY: Int

    Permalink
  21. def moveRight(): Unit

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. val r: Tile

    Permalink
    Definition Classes
    FocalCalculation
  26. val s: SurfacePoint

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

    Permalink
    Definition Classes
    AnyRef
  28. val target: TargetCell

    Permalink
    Definition Classes
    FocalCalculation
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. var west: Array[Double]

    Permalink

Inherited from FocalCalculation[T]

Inherited from Resulting[T]

Inherited from AnyRef

Inherited from Any

Ungrouped