<< CreateRasterFromBinary Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures CropRaster >>

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

CropFlowDir

Creates a new, cropped version of an existing flow direction grid

Calling Sequence

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

Arguments

handle_src

integer: handle on the flow direction grid 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 flow direction grid

Description

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

Examples

References

See Also

Authors

<< CreateRasterFromBinary Managing CLaRiNet data structures: "FloatRaster", "FlowDirGrid" and "CellTree" structures CropRaster >>