Molassembler  1.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CommonTrig.h File Reference

Trigonometric stubs. More...

Include dependency graph for CommonTrig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Scine
 
 Scine::Molassembler
 Central library namespace.
 

Typedefs

using Scine::Molassembler::CommonTrig::ValueBounds = DistanceGeometry::ValueBounds
 

Functions

template<typename T >
Scine::Molassembler::CommonTrig::lawOfCosines (const T a, const T b, const T phiRadians)
 Calculates the law of cosines. More...
 
template<typename 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 >
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...
 

Detailed Description

Trigonometric stubs.