Versions in this module Expand all Collapse all v0 v0.1.0 Dec 19, 2021 v0.0.0 Dec 5, 2021 Changes in this version + func DEMToPNG(file string, ats *rdg.DEM, image_pixel_w, image_pixel_h int, with_shadow bool, ...) + func FtoA(v float64) string + func ItoA(v int) string + func WriteDEMtoOBJ(filename string, ats *rdg.DEM, image_w float64, image_h float64, ...) error + func WriteDEMtoPNG(file string, ats *rdg.DEM, image_pixel_w, image_pixel_h int) + func WriteDEMtoPNGwithShadow(file string, ats *rdg.DEM, image_pixel_w, image_pixel_h int, shadow Shadow) + func WriteDEMtoTXT(filename string, ats *rdg.DEM, image_w float64, image_h float64) error + func WriteLocalToPNG(file string, obj *terrain.LocalTerrainObject, image_pixel_w, image_pixel_h int) + func WriteWorldToPNG(file string, obj *terrain.WorldTerrainObject, image_pixel_w, image_pixel_h int) + type Color struct + B float64 + G float64 + R float64 + func GetColorFromElevation(elevation float64) Color + func MakeColor(r, g, b float64) Color + type ColorElevation struct + func MakeColorElevation(r, g, b, elevation float64) ColorElevation + type Shadow struct + DirectionXY float64 + DirectionZ float64 + StrengthLand01 float64 + StrengthOcean01 float64 + WidthKm float64 + func DefaultShadow(ats *rdg.DEM) Shadow