Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Polypeptide_chain_representation< ParticleTraits, MolecularCovalentStructure, ConformationType >::Bond Class Reference

Representation of a bond between two atoms. More...

#include <Polypeptide_chain_representation.hpp>

Public Member Functions

const Atomget_first_atom () const
 Access to the first atom in the bond. More...
 
const Atomget_second_atom () const
 Access to the second atom in the bond. More...
 
FT get_bond_length () const
 Access to the length of the bond. More...
 

Detailed Description

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_for_proteins<ParticleTraits> >, class ConformationType = std::vector<SBL::CSB::EPIC_kernel_with_atom::FT>>
class SBL::CSB::T_Polypeptide_chain_representation< ParticleTraits, MolecularCovalentStructure, ConformationType >::Bond

Representation of a bond between two atoms.

Member Function Documentation

◆ get_bond_length()

FT get_bond_length ( ) const
inline

Access to the length of the bond.

◆ get_first_atom()

const Atom& get_first_atom ( ) const
inline

Access to the first atom in the bond.

◆ get_second_atom()

const Atom& get_second_atom ( ) const
inline

Access to the second atom in the bond.