UnityMol  1.0.25beta
UMol.UnityMolChain Class Reference

Part of the SMCRA data structure, UnityMolChain stores the residues of the structure as a list of UnityMolResidue A reference to the model it belongs is provided More...

Public Member Functions

 UnityMolChain (List< UnityMolResidue > _residues, string _name)
 UnityMolChain constructor taking a list of residues as arg More...
 
 UnityMolChain (UnityMolResidue _residue, string _name)
 UnityMolChain constructor taking a residue as arg More...
 
void AddResidues (List< UnityMolResidue > newResidues)
 Add a list of residues to the stored residues More...
 
void AddResidues (Dictionary< int, UnityMolResidue > newResidues)
 Add a dictionary of residues to the stored residues More...
 
List< UnityMolAtomToAtomList ()
 
UnityMolSelection ToSelection (bool doBonds=true)
 

Public Attributes

Dictionary< int, UnityMolResidueresidues
 Store all the residues of the chain based on their ids More...
 
UnityMolModel model
 Reference to the model the chain belongs to More...
 
string name
 Name of the chain More...
 

Properties

List< UnityMolAtomallAtoms [get]
 

Detailed Description

Part of the SMCRA data structure, UnityMolChain stores the residues of the structure as a list of UnityMolResidue A reference to the model it belongs is provided

Constructor & Destructor Documentation

◆ UnityMolChain() [1/2]

UMol.UnityMolChain.UnityMolChain ( List< UnityMolResidue _residues,
string  _name 
)

UnityMolChain constructor taking a list of residues as arg

◆ UnityMolChain() [2/2]

UMol.UnityMolChain.UnityMolChain ( UnityMolResidue  _residue,
string  _name 
)

UnityMolChain constructor taking a residue as arg

Member Function Documentation

◆ AddResidues() [1/2]

void UMol.UnityMolChain.AddResidues ( List< UnityMolResidue newResidues)

Add a list of residues to the stored residues

◆ AddResidues() [2/2]

void UMol.UnityMolChain.AddResidues ( Dictionary< int, UnityMolResidue newResidues)

Add a dictionary of residues to the stored residues

◆ ToAtomList()

List<UnityMolAtom> UMol.UnityMolChain.ToAtomList ( )

◆ ToSelection()

UnityMolSelection UMol.UnityMolChain.ToSelection ( bool  doBonds = true)

Member Data Documentation

◆ model

UnityMolModel UMol.UnityMolChain.model

Reference to the model the chain belongs to

◆ name

string UMol.UnityMolChain.name

Name of the chain

◆ residues

Dictionary<int, UnityMolResidue> UMol.UnityMolChain.residues

Store all the residues of the chain based on their ids

Property Documentation

◆ allAtoms

List<UnityMolAtom> UMol.UnityMolChain.allAtoms
get

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