locar-tiler 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locar-tiler.d.ts +8 -0
- package/dist/locar-tiler.mjs +339 -323
- package/dist/locar-tiler.umd.js +1 -1
- package/package.json +1 -1
package/dist/locar-tiler.d.ts
CHANGED
|
@@ -32,6 +32,14 @@ export declare class DEM {
|
|
|
32
32
|
* @return {number} the elevation in metres
|
|
33
33
|
*/
|
|
34
34
|
getElevation(x: number, y: number): number;
|
|
35
|
+
/** Process the DEM data with a custom function. The function has access to all the key properties of the DEM. */
|
|
36
|
+
processData(fn: (elevs: number[], bottomLeft: EastNorth, ptWidth: number, ptHeight: number, xSpacing: number, ySpacing: number) => void): void;
|
|
37
|
+
/** Return the bottom left coordinate. */
|
|
38
|
+
getBottomLeft(): EastNorth;
|
|
39
|
+
/** Return the number of points in the x and y directions. */
|
|
40
|
+
getNPoints(): [number, number];
|
|
41
|
+
/** Return the spacing in Spherical Mercator units in the x and y directions. */
|
|
42
|
+
getSpacing(): [number, number];
|
|
35
43
|
}
|
|
36
44
|
|
|
37
45
|
/**
|