Bsoft  2.1.0
Bernard's software package
model_poly_spiral.h
Go to the documentation of this file.
1 
9 #include "rwmodel.h"
10 
11 // Function prototypes
12 Bmodel* model_poly_spiral(Bstring& seq, int valence, int requirements);
13 int model_polyhedron_check(Bmodel* model, int valence);
14 Bmodel* model_poly_gen_sequence(Bstring& seq, int valence, int enantiomorph, int requirements, int nm);
15 Bmodel* model_poly_gen_sequence(Bstring& seq, int valence, int enantiomorph, int requirements, int nm, double* table);
16 Bmodel* model_poly_gen_permutations(int vertices, int valence, int enantiomorph);
17 Bmodel* model_poly_gen_cone(int tip, int body, int base, int valence, int enantiomorph, int requirements);
18 Bmodel* model_poly_gen_lozenge(int ttop, int tbody, int valence, int enantiomorph, int requirements);
19 Bmodel* model_poly_gen_coffin(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements);
20 Bmodel* model_poly_gen_coffin_loose(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements);
21 Bmodel* model_poly_gen_coffin_jiggle(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements);
22 Bmodel* model_poly_gen_3part(Bstring stip, Bstring sbody, Bstring sbase, int valence, int enantiomorph, int requirements);
23 Bmodel* model_poly_gen_move_pentagons(Bstring& seq, int valence, int enantiomorph, int requirements);
24 
model_poly_gen_3part
Bmodel * model_poly_gen_3part(Bstring stip, Bstring sbody, Bstring sbase, int valence, int enantiomorph, int requirements)
Generates several polyhedra by permuting the first and last parts of a three-part sequence.
Definition: model_poly_spiral.cpp:814
model_poly_gen_move_pentagons
Bmodel * model_poly_gen_move_pentagons(Bstring &seq, int valence, int enantiomorph, int requirements)
Generates many polyhedrons using a given sequence and moving pentagons around.
Definition: model_poly_spiral.cpp:915
model_poly_gen_coffin_loose
Bmodel * model_poly_gen_coffin_loose(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements)
An icosahedral tip and a 6-fold base is set up and polyhedra generated by permuting the tip and base.
Definition: model_poly_spiral.cpp:732
rwmodel.h
Header file for reading and writing atomic model files.
Bstring
Definition: Bstring.h:29
base
string base(string &filename)
Definition: string_util.cpp:28
model_poly_gen_lozenge
Bmodel * model_poly_gen_lozenge(int ttop, int tbody, int valence, int enantiomorph, int requirements)
Two icosahedral tips are set up and polyhedra generated by rotating the 2 tips.
Definition: model_poly_spiral.cpp:598
model_poly_gen_permutations
Bmodel * model_poly_gen_permutations(int vertices, int valence, int enantiomorph)
All polyhedra are generated for a given number of vertices.
Definition: model_poly_spiral.cpp:494
model_poly_gen_sequence
Bmodel * model_poly_gen_sequence(Bstring &seq, int valence, int enantiomorph, int requirements, int nm)
Generates a polyhedron using a given sequence.
Definition: model_poly_spiral.cpp:399
model_poly_gen_cone
Bmodel * model_poly_gen_cone(int tip, int body, int base, int valence, int enantiomorph, int requirements)
A cone tip with 5 pentagons and a base with 7 pentagons are use to generate polyhedra.
Definition: model_poly_spiral.cpp:557
Bmodel
Definition: rwmodel.h:119
model
Bmodel * model
Definition: bshow.cpp:34
model_polyhedron_check
int model_polyhedron_check(Bmodel *model, int valence)
Checks a polyhedron for accuracy and completeness.
Definition: model_poly_spiral.cpp:336
model_poly_spiral
Bmodel * model_poly_spiral(Bstring &seq, int valence, int requirements)
Generates a polyhedron using the spiral algorithm.
Definition: model_poly_spiral.cpp:274
model_poly_gen_coffin_jiggle
Bmodel * model_poly_gen_coffin_jiggle(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements)
An icosahedral tip and a 6-fold base is set up and polyhedra generated by moving pentagons around.
Definition: model_poly_spiral.cpp:770
model_poly_gen_coffin
Bmodel * model_poly_gen_coffin(int ttop, int tbody, int tbase, int valence, int enantiomorph, int requirements)
An icosahedral tip and a 6-fold base is set up and polyhedra generated by rotating the tip and base.
Definition: model_poly_spiral.cpp:665