11 #include <util/space/Vector.h> 110 {
return std::acos(
cosPhi); }
A Vector is a Cartesian vector.
double dot(const Vector &v) const
Return dot product of this vector and vector v.
double cosPhi
Cosine of dihedral angle.
Classes used by all simpatico molecular simulations.
double sinPhi() const
Return value of sin(phi) for precomputed cos(phi).
Vector & cross(const Vector &v1, const Vector &v2)
Calculate cross product of vectors v1 and v2.
Utility classes for scientific computation.
double phi() const
Return value of phi in radians for precomputed cos(phi).
bool computeAngle(const Vector &b1, const Vector &b2, const Vector &b3)
Compute cosPhi.
Computes dihedral / torsion angle involving 3 bonds.
double square() const
Return square magnitude of this vector.