21 #ifndef EMODNET_QMGC_TIN_CREATION_UTILS_H 22 #define EMODNET_QMGC_TIN_CREATION_UTILS_H 44 const unsigned int& zoom,
45 const bool& downScale =
true)
48 if (thresholdsPerZoom.size() == 1) {
51 thres = thresholdsPerZoom[0];
54 thres = thresholdsPerZoom[0] / pow(2.0, zoom);
56 thres = thresholdsPerZoom[0] * pow(2.0, zoom);
58 }
else if (zoom < thresholdsPerZoom.size()) {
60 thres = thresholdsPerZoom[zoom];
63 thres = thresholdsPerZoom.back();
72 #endif //EMODNET_QMGC_TIN_CREATION_UTILS_H T standardHandlingOfThresholdPerZoom(const std::vector< T > &thresholdsPerZoom, const unsigned int &zoom, const bool &downScale=true)
Definition: tin_creation_utils.h:43
This namespace contains all the types/classes/functions required to create a TIN out of a regularly g...