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.
- Alphabetic
- By Inheritance
- SurfacePointCalculation
- FocalCalculation
- Resulting
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SurfacePointCalculation(r: Tile, n: Neighborhood, analysisArea: Option[GridBounds[Int]], cellSize: CellSize, target: TargetCell = TargetCell.All)
Abstract Value Members
-
abstract
val
copyOriginalValue: (Int, Int, Int, Int) ⇒ Unit
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
-
abstract
def
result: T
- Definition Classes
- Resulting
-
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.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var base: Array[Double]
-
val
bounds: GridBounds[Int]
- Definition Classes
- FocalCalculation
-
def
calcSurface(): Unit
- Attributes
- protected
- var cellHeight: Double
- val cellSize: CellSize
- var cellWidth: Double
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- var east: Array[Double]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execute(): T
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
- SurfacePointCalculation → FocalCalculation
- Note
Assumes a Square(1) neighborhood.
,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.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var lastY: Int
- def moveRight(): Unit
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
r: Tile
- Definition Classes
- FocalCalculation
- val s: SurfacePoint
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
target: TargetCell
- Definition Classes
- FocalCalculation
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- var west: Array[Double]