Mercurial > gemma
diff pkg/mesh/raster.go @ 5412:34bc6041e61e marking-single-beam
Added a type for class breaks.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 07 Jul 2021 10:58:14 +0200 |
parents | f4abfd0ee8ad |
children | 1a89084163d5 |
line wrap: on
line diff
--- a/pkg/mesh/raster.go Wed Jul 07 09:43:41 2021 +0200 +++ b/pkg/mesh/raster.go Wed Jul 07 10:58:14 2021 +0200 @@ -195,7 +195,7 @@ return min, max, min != math.MaxFloat64 } -func (r *Raster) Trace(heights []float64) []wkb.MultiPolygonGeom { +func (r *Raster) Trace(heights ClassBreaks) []wkb.MultiPolygonGeom { start := time.Now() tracer := contourmap.FromFloat64s(r.XCells+2, r.YCells+2, r.Cells)