|
ad_physics
|
#include <cmath>#include <iostream>#include <limits>#include <sstream>#include <stdexcept>#include "spdlog/fmt/ostr.h"#include "spdlog/spdlog.h"

Go to the source code of this file.
Classes | |
| class | ad::physics::DistanceSquared |
| DataType DistanceSquared. More... | |
| class | std::numeric_limits<::ad::physics::DistanceSquared > |
| specialization of the std::numeric_limits for DistanceSquared More... | |
Namespaces | |
| ad | |
| namespace ad | |
| ad::physics | |
| namespace physics | |
Macros | |
| #define | AD_PHYSICS_DISTANCESQUARED_THROWS_EXCEPTION 1 |
| Define to indicate whether throwing exceptions is enabled. | |
| #define | _AD_PHYSICS_DISTANCESQUARED_EXPLICIT_CONVERSION_ |
| Enable/Disable explicit conversion. Currently set to "implicit conversion allowed". | |
| #define | GEN_GUARD_AD_PHYSICS_DISTANCESQUARED |
| protect the definition of functions from duplicates by typedef usage within other data types | |
Functions | |
| inline ::ad::physics::DistanceSquared | operator* (const double &other, ::ad::physics::DistanceSquared const &value) |
| standard arithmetic operator More... | |
| inline ::ad::physics::DistanceSquared | std::fabs (const ::ad::physics::DistanceSquared other) |
| overload of the std::fabs for DistanceSquared | |
| ::ad::physics::Distance | std::sqrt (::ad::physics::DistanceSquared const other) |
| overload of the std::sqrt for DistanceSquared More... | |
| std::ostream & | ad::physics::operator<< (std::ostream &os, DistanceSquared const &_value) |
| standard ostream operator More... | |
| std::string | std::to_string (::ad::physics::DistanceSquared const &value) |
| overload of the std::to_string for DistanceSquared | |
Generated file
Generator Version : 11.0.0-1997
| inline ::ad::physics::DistanceSquared operator* | ( | const double & | other, |
| ::ad::physics::DistanceSquared const & | value | ||
| ) |
standard arithmetic operator
| [in] | other | Other DistanceSquared as double value |
| [in] | value | DistanceSquared value |
value or the result of the operation is not valid | ::ad::physics::Distance std::sqrt | ( | ::ad::physics::DistanceSquared const | other | ) |
overload of the std::sqrt for DistanceSquared
The square root of a squared type is basic type: Distance.
1.8.17