Trigonometric stubs. More...
#include "Molassembler/DistanceGeometry/ValueBounds.h"#include "Molassembler/Modeling/BondDistance.h"#include <cmath>Go to the source code of this file.
Namespaces | |
| Scine::Molassembler | |
| Central library namespace. | |
Typedefs | |
| using | Scine::Molassembler::CommonTrig::ValueBounds = DistanceGeometry::ValueBounds |
Functions | |
| template<typename T > | |
| T | Scine::Molassembler::CommonTrig::lawOfCosines (const T a, const T b, const T phiRadians) |
| Calculates the law of cosines. More... | |
| template<typename T > | |
| T | Scine::Molassembler::CommonTrig::lawOfCosinesAngle (const T a, const T b, const T c) |
| Calculates angle between a and b in a triangle of three side lengths. More... | |
| template<typename T > | |
| T | Scine::Molassembler::CommonTrig::lawOfSinesAngle (const T a, const T alphaRadians, const T b) |
| Calculate the angle beta using the law of sines. More... | |
| double | Scine::Molassembler::CommonTrig::dihedralLength (double a, double b, double c, double alpha, double beta, double dihedral) |
| Calculates the distance between the 1st and 4th position in a dihedral. More... | |
| ValueBounds | Scine::Molassembler::CommonTrig::dihedralLengthBounds (const ValueBounds &aBounds, const ValueBounds &bBounds, const ValueBounds &cBounds, const ValueBounds &alphaBounds, const ValueBounds &betaBounds, const ValueBounds &dihedralBounds) |
| Calculates the bounds on the dihedral length given bounds for all constituting variables. More... | |
Trigonometric stubs.