OpenStructure
Public Member Functions
TorsionImpl Class Reference

#include <torsion_impl.hh>

Inherits Dihedral, and enable_shared_from_this< TorsionImpl >.

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)
 
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()

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

Member Function Documentation

◆ Apply()

void Apply ( EntityVisitor h)

◆ GetAngle()

Real GetAngle ( ) const

◆ GetName()

const String& GetName ( ) const

◆ RotateAngle()

void RotateAngle ( Real  angle,
bool  up 
)

◆ SetAngle()

void SetAngle ( Real  a,
bool  up 
)

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