| Bsoft 2.0.5 Bernard's software package

model_links.h
Go to the documentation of this file.
1
9 #include "rwmodel.h"
10 #include "Bstring.h"
11
12 // Function prototypes
13 long model_setup_links(Bmodel* model);
14 long model_link_list_generate(Bmodel* model, double maxlength);
15 long model_set_link_length(Bmodel* model, double linklength);
16 long model_set_link_radius(Bmodel* model, double linkrad);
17 long model_reduce_linked(Bmodel* model, Bstring& submodname, int flags);
18 long model_links_minimum_valency(Bmodel* model, long valency);
19
model_reduce_linked
long model_reduce_linked(Bmodel *model, Bstring &submodname, int flags)
Reduces a model to one component per linked set of components.
Definition: model_links.cpp:194
model_set_link_radius
long model_set_link_radius(Bmodel *model, double linkrad)
Set the display radius for all links to a specific value.
Definition: model_links.cpp:139
model_setup_links
long model_setup_links(Bmodel *model)
Set up the link list for each component.
Definition: model_links.cpp:28
model
Bmodel * model
Definition: bshow.cpp:32
Bstring
Definition: Bstring.h:29
rwmodel.h
Header file for reading and writing atomic model files.
model_link_list_generate
long model_link_list_generate(Bmodel *model, double maxlength)
Generates a link list for a model based on vertex separation.
Definition: model_links.cpp:70
Bstring.h
Header file for the string class.
model_set_link_length
long model_set_link_length(Bmodel *model, double linklength)
Sets the reference link lengths.
Definition: model_links.cpp:112
Bmodel
Definition: rwmodel.h:119
model_links_minimum_valency
long model_links_minimum_valency(Bmodel *model, long valency)
Generates links such that each component has at least the given valency.
Definition: model_links.cpp:294