refactor: addLakesInDeepDepressions

This commit is contained in:
max 2022-07-24 15:18:47 +03:00
parent b2f16c4b8f
commit 3c6da6585e
16 changed files with 250 additions and 266 deletions

10
src/types/grid.d.ts vendored
View file

@ -17,16 +17,6 @@ interface IGridCells {
prec: Uint8Array; // precipitation in inner units
}
interface IGridBase extends IGrid {
cells: IGraphCells & Partial<IGridCells>;
features?: TGridFeatures;
}
interface IGridWithHeights extends IGrid {
cells: IGraphCells & Partial<IGridCells> & {h: Uint8Array};
features?: TGridFeatures;
}
type TGridFeatures = [0, ...IGridFeature[]];
interface IGridFeature {