OpenStructure
Public Member Functions
TorsionImpl Class Reference

#include <torsion_impl.hh>

Inherits Dihedral.

Public Member Functions

 TorsionImpl (const String &name, const AtomImplPtr &atom1, const AtomImplPtr &atom2, const AtomImplPtr &atom3, const AtomImplPtr &atom4)
void Apply (EntityVisitor &h)
const StringGetName () const
Real GetAngle () const
void SetAngle (Real a, bool up)
void RotateAngle (Real angle, bool up)
- Public Member Functions inherited from Dihedral
 Dihedral (const AtomImplPtr &atom1, const AtomImplPtr &atom2, const AtomImplPtr &atom3, const AtomImplPtr &atom4)
 Dihedral (const AtomImplList &atoms)
Real GetAngleXCS () const
Real GetAngleICS () const
void SetAngleICS (Real angle, bool update_other=false)
geom::Vec3 GetPos () const
geom::Vec3 GetOriginalPos () const
bool IsAtomInvolved (const AtomImplPtr &atom)
AtomImplPtr GetFirst () const
AtomImplPtr GetSecond () const
AtomImplPtr GetThird () const
AtomImplPtr GetFourth () const
bool Matches (const AtomImplPtr &a1, const AtomImplPtr &a2, const AtomImplPtr &a3, const AtomImplPtr &a4) const

Detailed Description

Definition at line 35 of file torsion_impl.hh.


Constructor & Destructor Documentation

TorsionImpl ( const String name,
const AtomImplPtr atom1,
const AtomImplPtr atom2,
const AtomImplPtr atom3,
const AtomImplPtr atom4 
)

Member Function Documentation

void Apply ( EntityVisitor h)
Real GetAngle ( ) const
const String& GetName ( ) const
void RotateAngle ( Real  angle,
bool  up 
)
void SetAngle ( Real  a,
bool  up 
)

The documentation for this class was generated from the following file: