geotrellis.raster.costdistance.CostDistanceMethods.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-raster_2.11 Show documentation
Show all versions of geotrellis-raster_2.11 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
The newest version!
package geotrellis.raster.costdistance
import geotrellis.raster._
import geotrellis.util.MethodExtensions
/**
* Trait to extent Cost-Distance Methods to [[Tile]]
*/
trait CostDistanceMethods extends MethodExtensions[Tile] {
/**
* Compute the cost-distance function over the present [[Tile]] and
* the given set of points.
*/
def costDistance(points: Seq[(Int, Int)]): Tile =
CostDistance(self, points)
/**
* Compute the cost-distance function over the present [[Tile]] and
* the given set of points.
*/
def costDistanceWithPaths(point: (Int, Int)): CostDistanceWithPathsResult =
CostDistanceWithPaths(self, point)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy