예제 #1
0
파일: gdal.go 프로젝트: kikht/gdal
// Fill this band with a constant value
func (rasterBand RasterBand) Fill(real, imaginary float64) error {
	err := C.GDALFillRaster(rasterBand.cval, C.double(real), C.double(imaginary))
	if err != 0 {
		return error(err)
	}

	return nil
}
예제 #2
0
파일: gdal.go 프로젝트: colek42/gdal
// Fill this band with a constant value
func (rasterBand RasterBand) Fill(real, imaginary float64) error {
	return C.GDALFillRaster(rasterBand.cval, C.double(real), C.double(imaginary)).Err()
}