Skip to content

File hill_shade.hpp

FileList > hill_shade > hill_shade.hpp

Go to the source code of this file

  • #include <cmath>
  • #include <numbers>
  • #include "grid/grid.hpp"
  • #include "utilities/timer.hpp"

Public Functions

Type Name
GeoGrid< double > hill_shade (const GeoGrid< T > & grid, double azimuth=315, double altitude=45, bool multidirectional=true)
GeoGrid< double > slope (const GeoGrid< T > & grid)

Macros

Type Name
define DEG2RAD (x) ((x) \* std::numbers::pi / 180)
define SQ (x) ((x) \* (x))

Public Functions Documentation

function hill_shade

template<typename T>
GeoGrid < double > hill_shade (
    const  GeoGrid < T > & grid,
    double azimuth=315,
    double altitude=45,
    bool multidirectional=true
) 

function slope

template<typename T>
GeoGrid < double > slope (
    const  GeoGrid < T > & grid
) 

Macro Definition Documentation

define DEG2RAD

#define DEG2RAD (
    x
) `((x) * std::numbers::pi / 180)`

define SQ

#define SQ (
    x
) `((x) * (x))`


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/methods/hill_shade/hill_shade.hpp