Ejemplo n.º 1
0
// smooth sets ups the LazySmoothSurface with a kernel.
func (surfacer *ImageSurface) smooth() error {
	surfacer.SmoothSurface = smooth_surface.New(surfacer.Surface, surfacer.smoothKernel())
	return nil
}
Ejemplo n.º 2
0
// smooth sets up the LazySmoothSurface with a kernel.
func (surfacer *StravaHeatSurface) smooth() error {
	surfacer.smoothSurface = smooth_surface.New(surfacer.surface, surfacer.smoothKernel())
	return nil
}
Ejemplo n.º 3
0
// smooth sets up the LazySmoothSurface with a kernel.
func (surfacer *TileOverlaySurface) smooth() error {
	surfacer.SmoothSurface = smooth_surface.New(surfacer.Surface, surfacer.smoothKernel())
	return nil
}