ad_physics
Functions
AngleValidInputRange.hpp File Reference
#include <cmath>
#include <limits>
#include "ad/physics/Angle.hpp"
#include "spdlog/fmt/ostr.h"
#include "spdlog/spdlog.h"
Include dependency graph for AngleValidInputRange.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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

Detailed Description

Generated file

Generator Version : 11.0.0-1997

Function Documentation

◆ withinValidInputRange()

bool withinValidInputRange ( ::ad::physics::Angle const &  input,
bool const  logErrors = true 
)
inline

check if the given Angle is within valid input range

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