<< CropFlowDir | Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures | DestroyCellTree >>

CLaRiNet 0.1 beta >> Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures > CropRaster

# CropRaster

Creates a new, cropped version of an existing raster

### Calling Sequence

    handle_crp = CropRaster ( handle_src , CropWindow [, name] )

### Arguments

handle_src

  integer: handle on the raster to be cropped

CropWindow

  vector of length 4: first row, first column, last row, last column

name

  (optional) character string

handle_crp

  integer: handle on the newly created, cropped raster

### Description

Creates a new, cropped version of an existing flow raster. Returns a handle on the new raster.

### Examples

### References

### See Also

- CreateFloatRaster, CreateRasterFromBinary

### Authors

- Nicolas LE MOINE

<< CropFlowDir | Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures | DestroyCellTree >>