Part of the SMCRA data structure, UnityMolModel stores the chains of the structure as a dictionary <string,UnityMolChain>. It also stores the bonds as UnityMolBonds A list of UnityMolAtom of the model is provided to loop over all atoms quickly
More...
Part of the SMCRA data structure, UnityMolModel stores the chains of the structure as a dictionary <string,UnityMolChain>. It also stores the bonds as UnityMolBonds A list of UnityMolAtom of the model is provided to loop over all atoms quickly
◆ UnityMolModel() [1/3]
UMol.UnityMolModel.UnityMolModel |
( |
Dictionary< string, UnityMolChain > |
dictChains, |
|
|
string |
nameModel |
|
) |
| |
◆ UnityMolModel() [2/3]
UMol.UnityMolModel.UnityMolModel |
( |
List< UnityMolChain > |
listChains, |
|
|
string |
nameModel |
|
) |
| |
UnityMolModel constructor taking chain list as arg, all the chains are inserted into the _chains dictionary
◆ UnityMolModel() [3/3]
UMol.UnityMolModel.UnityMolModel |
( |
UnityMolChain |
newChain, |
|
|
string |
nameModel |
|
) |
| |
UnityMolModel constructor taking one chain as arg, the chain is inserted into the chains dictionary
◆ CenterAtoms()
void UMol.UnityMolModel.CenterAtoms |
( |
| ) |
|
◆ computeCenterOfGravity()
static void UMol.UnityMolModel.computeCenterOfGravity |
( |
int |
N, |
|
|
float [] |
positions, |
|
|
float [] |
minmaxcog |
|
) |
| |
◆ ComputeCenterOfGravity() [1/2]
void UMol.UnityMolModel.ComputeCenterOfGravity |
( |
| ) |
|
◆ ComputeCenterOfGravity() [2/2]
static Vector3 UMol.UnityMolModel.ComputeCenterOfGravity |
( |
Vector3 [] |
positions | ) |
|
|
static |
◆ ComputeCenterOfGravityCSharp() [1/2]
void UMol.UnityMolModel.ComputeCenterOfGravityCSharp |
( |
| ) |
|
Computes the center of gravity of the model
◆ ComputeCenterOfGravityCSharp() [2/2]
static Vector3 UMol.UnityMolModel.ComputeCenterOfGravityCSharp |
( |
Vector3 [] |
positions | ) |
|
|
static |
Computes the center of gravity of the provided Vector3 array
◆ fillIdAtoms()
void UMol.UnityMolModel.fillIdAtoms |
( |
| ) |
|
◆ getAllPositions()
Vector3 [] UMol.UnityMolModel.getAllPositions |
( |
| ) |
|
◆ getAtomWithID()
◆ hasHydrogens()
bool UMol.UnityMolModel.hasHydrogens |
( |
| ) |
|
◆ ToAtomList()
◆ ToSelection()
◆ allAtoms
Stores a reference to all the atoms of the model
◆ bonds
Bonds of the model, contains a dictionary of <UnityMolAtoms,UnityMolAtom[]>
◆ centerOfGravity
Vector3 UMol.UnityMolModel.centerOfGravity |
Center of gravity of the model
◆ chains
Store all the chains of the model
◆ customChemBonds
List<Int2> UMol.UnityMolModel.customChemBonds = new List<Int2>() |
Custom chemical bonds read in a PDB file
◆ fieldLinesR
◆ maximumPositions
Vector3 UMol.UnityMolModel.maximumPositions |
Maximum position in x, y and z
◆ minimumPositions
Vector3 UMol.UnityMolModel.minimumPositions |
Minimum position in x, y and z
◆ name
string UMol.UnityMolModel.name |
◆ structure
Store all the chains of the model
The documentation for this class was generated from the following file: