fill

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FillParameters

type FillParameters struct {
	InRaster *raster.Raster
	ZLimit   float64
}

type FillResult

type FillResult struct {
	FilledRaster *raster.Raster
}

func Fill

func Fill(param FillParameters) (*FillResult, error)

Fill attempts to correct cells of given inRaster by filling sinks/pits. zLimit refers to the maximum elevation difference between the sink and its pour point. Those sinks whose elevation difference is greater than zLimit will not be filled. If the zLimit is zero, all sinks will be filled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL