geotrellis.raster.viewshed.ViewshedMethods.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.viewshed
import geotrellis.raster._
import geotrellis.util.MethodExtensions
trait ViewshedMethods extends MethodExtensions[Tile] {
def viewshed(col: Int, row: Int, exact: Boolean = false): Tile =
if (exact)
Viewshed(self, col, row)
else
ApproxViewshed(self, col, row)
def viewshedOffsets(col: Int, row: Int, exact: Boolean = false): Tile =
if (exact)
Viewshed.offsets(self, col, row)
else
ApproxViewshed.offsets(self, col, row)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy