Bsoft  2.1.0
Bernard's software package
model_shell.h
Go to the documentation of this file.
1 
9 #include "rwmodel.h"
10 
11 // Function prototypes
12 long model_add_shell(Bmodel* model, double add_distance, Bstring& new_type);
13 int model_adjust_shell_to_guide(Bmodel* model, Bmodel* gmod, double fraction, int curv_flag);
14 Bmodel* model_components_to_shells(Bmodel* model, double distance, Bstring& nutype, int twod);
18 double model_inside_outside(Vector3<double> vec, Bmodel* model, int curv_flag, int fast);
19 
rwmodel.h
Header file for reading and writing atomic model files.
Bstring
Definition: Bstring.h:29
model_ellipsoidicity
double model_ellipsoidicity(Bmodel *model)
Calculates how close the model is to an ellipsoid shape.
Definition: model_shell.cpp:234
model_inside_outside
double model_inside_outside(Vector3< double > vec, Bmodel *model, int curv_flag, int fast)
Definition: model_shell.cpp:401
Vector3< double >
model_add_shell
long model_add_shell(Bmodel *model, double add_distance, Bstring &new_type)
Adds a shell to a model using selected components.
Definition: model_shell.cpp:32
distance
double distance(vector< T1 > &v1, vector< T2 > &v2)
Definition: Vector3.h:538
Bmodel
Definition: rwmodel.h:119
model_adjust_shell_to_guide
int model_adjust_shell_to_guide(Bmodel *model, Bmodel *gmod, double fraction, int curv_flag)
Adjusts a shell model to the faces of a polyhedral guide model.
Definition: model_shell.cpp:85
model_curvature
int model_curvature(Bmodel *model)
Calculates the curvature associated with each link.
Definition: model_shell.cpp:279
model_components_to_shells
Bmodel * model_components_to_shells(Bmodel *model, double distance, Bstring &nutype, int twod)
Generates a new set of models by vonverting each component to a shell model.
Definition: model_shell.cpp:139
model
Bmodel * model
Definition: bshow.cpp:34
model_sphericity
double model_sphericity(Bmodel *model)
Calculates how close the model is to a spherical shape.
Definition: model_shell.cpp:194