ad_map_access
Functions
AltitudeValidInputRange.hpp File Reference
#include <cmath>
#include <limits>
#include "ad/map/point/Altitude.hpp"
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Include dependency graph for AltitudeValidInputRange.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool withinValidInputRange (::ad::map::point::Altitude const &input, bool const logErrors=true)
 check if the given Altitude is within valid input range More...
 

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

bool withinValidInputRange ( ::ad::map::point::Altitude const &  input,
bool const  logErrors = true 
)
inline

check if the given Altitude is within valid input range

Parameters
[in]inputthe Altitude as an input value
[in]logErrorsenables error logging
Returns
true if Altitude is considered to be within the specified input range
Note
the specified input range is defined by std::numeric_limits<::ad::map::point::Altitude>::lowest() <= input <= std::numeric_limits<::ad::map::point::Altitude>::max() -11000 <= input <= 9000