Documentation
¶
Index ¶
- type AllIterator
- type Bitmap
- func (bm *Bitmap) Get(x, y int) bool
- func (bm *Bitmap) GetWithCell(c *Cell) bool
- func (bm *Bitmap) IsInRegion(x, y int) bool
- func (bm *Bitmap) Set(x, y int)
- func (bm *Bitmap) SetWithCell(c *Cell)
- func (bm *Bitmap) String() string
- func (bm *Bitmap) Unset(x, y int)
- func (bm *Bitmap) UnsetWithCell(c *Cell)
- type BorderIterator
- type Cell
- type Direction
- type InnerRegionIterator
- type Intmap
- type Iterator
- type NeighborIterator
- type Raster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllIterator ¶
type AllIterator struct {
// contains filtered or unexported fields
}
func NewAllIterator ¶
func NewAllIterator(r *Raster) *AllIterator
func (*AllIterator) Error ¶
func (it *AllIterator) Error() error
func (*AllIterator) Get ¶
func (it *AllIterator) Get() *Cell
func (*AllIterator) Next ¶
func (it *AllIterator) Next() bool
type Bitmap ¶
func NewBitmapWithRaster ¶
func (*Bitmap) GetWithCell ¶
func (*Bitmap) IsInRegion ¶
func (*Bitmap) SetWithCell ¶
func (*Bitmap) UnsetWithCell ¶
type BorderIterator ¶
type BorderIterator struct {
// contains filtered or unexported fields
}
func NewBorderIterator ¶
func NewBorderIterator(r *Raster) *BorderIterator
func (*BorderIterator) Error ¶
func (it *BorderIterator) Error() error
func (*BorderIterator) Get ¶
func (it *BorderIterator) Get() *Cell
func (*BorderIterator) Next ¶
func (it *BorderIterator) Next() bool
type InnerRegionIterator ¶
type InnerRegionIterator struct {
// contains filtered or unexported fields
}
func NewInnerRegionIterator ¶
func NewInnerRegionIterator(r *Raster) *InnerRegionIterator
func (*InnerRegionIterator) Error ¶
func (it *InnerRegionIterator) Error() error
func (*InnerRegionIterator) Get ¶
func (it *InnerRegionIterator) Get() *Cell
func (*InnerRegionIterator) Next ¶
func (it *InnerRegionIterator) Next() bool
type Intmap ¶
func NewIntmapWithRaster ¶
func (*Intmap) GetWithCell ¶
func (*Intmap) IsInRegion ¶
func (*Intmap) SetWithCell ¶
type NeighborIterator ¶
type NeighborIterator struct {
// contains filtered or unexported fields
}
func NewNeighborIterator ¶
func NewNeighborIterator(r *Raster, xCenter int, yCenter int) *NeighborIterator
func NewNeighborIteratorWithCell ¶
func NewNeighborIteratorWithCell(r *Raster, c *Cell) *NeighborIterator
func (*NeighborIterator) Error ¶
func (it *NeighborIterator) Error() error
func (*NeighborIterator) Get ¶
func (it *NeighborIterator) Get() *Cell
func (*NeighborIterator) Next ¶
func (it *NeighborIterator) Next() bool
type Raster ¶
type Raster struct { Data []float64 Xsize int Ysize int Size int CellXSize float64 CellYSize float64 Nodata float64 }
func CopyRaster ¶
func NewRasterWithRaster ¶
func (*Raster) GetWithCell ¶
func (*Raster) IsInRegion ¶
func (*Raster) SetWithCell ¶
Click to show internal directories.
Click to hide internal directories.