object CostDistance
Object housing various functions related to Cost-Distance computations.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CostDistance
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Value Members
-
def
apply(cost: Tile, points: Seq[(Int, Int)]): Tile
Generate a Cost-Distance raster based on a set of starting points and a cost raster
Generate a Cost-Distance raster based on a set of starting points and a cost raster
- cost
Cost Tile (Int)
- points
List of starting points as tuples
- Note
Operation will only work with integer typed Cost Tiles (BitCellType, ByteConstantNoDataCellType, ShortConstantNoDataCellType, IntConstantNoDataCellType). If a double typed Cost Tile (FloatConstantNoDataCellType, DoubleConstantNoDataCellType) is passed in, those costs will be rounded to their floor integer values.
- val dirs: Array[Dir]