Class TerrainAnalyzer
java.lang.Object
org.episteme.social.geography.TerrainAnalyzer
Utility class for terrain analysis using Digital Elevation Models (DEM).
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[][]calculateAspect(double[][] dem, Quantity<Length> cellSize) Calculates aspect (slope direction) grid.static int[][]calculateFlowDirection(double[][] dem) Simplified flow direction (D8 algorithm).static double[][]calculateSlope(double[][] dem, Quantity<Length> cellSize) Calculates slope grid from elevation grid using Horn's method.
-
Method Details
-
calculateSlope
-
calculateAspect
-
calculateFlowDirection
public static int[][] calculateFlowDirection(double[][] dem) Simplified flow direction (D8 algorithm).
-