| Bsoft 2.0.5 Bernard's software package

model_poly.h
Go to the documentation of this file.
1
9 #include "rwmodel.h"
10
11 // Function prototypes
12 int model_poly_faces(Bmodel* model);
13 int model_poly_generate(Bmodel* model);
14 Bmodel* model_poly_dual(Bmodel* model, int order);
15 int model_vertex_types(Bmodel* model);
16 int model_extended_vertex_types(Bmodel* model);
17 int model_poly_analyze(Bmodel* model);
18 int model_poly_links(Bmodel* model);
19 int model_poly_angles(Bmodel* model);
20 double model_poly_regularity(Bmodel* model);
21 double model_poly_planarity(Bmodel* model);
22 double model_poly_energy(Bmodel* model, double angle_ref);
23 int model_poly_pentagon_adjacency(Bmodel* model);
24 Bstring model_poly_find_symmetry(Bmodel* model, double find);
25 int model_poly_hand(Bmodel* model);
26 int model_poly_compare(Bmodel* model, Bmodel* refmodel);
27 vector<double> model_poly_eigenvalues(Bmodel* model, int show);
28 vector<double> model_poly_sphere_coor(Bmodel* model);
29
30
model_poly_planarity
double model_poly_planarity(Bmodel *model)
Analyzes a model for polygon planarity.
Definition: model_poly.cpp:835
model_poly_pentagon_adjacency
int model_poly_pentagon_adjacency(Bmodel *model)
Calculates the number of edges shared by pentagons.
Definition: model_poly.cpp:1041
model_extended_vertex_types
int model_extended_vertex_types(Bmodel *model)
Determines the vertex type based on adjacent and opposed polygons.
Definition: model_poly.cpp:396
model_poly_energy
double model_poly_energy(Bmodel *model, double angle_ref)
Calculates the different energy terms for all models.
Definition: model_poly.cpp:915
model_poly_dual
Bmodel * model_poly_dual(Bmodel *model, int order)
Calculates the dual of a polyhedral network.
Definition: model_poly.cpp:454
model_poly_faces
int model_poly_faces(Bmodel *model)
Generates links between the vertices to define the polyhedron faces.
Definition: model_poly.cpp:39
model_poly_angles
int model_poly_angles(Bmodel *model)
Calculates all the polygon angles.
Definition: model_poly.cpp:646
model_poly_generate
int model_poly_generate(Bmodel *model)
Generates polygons based on a vertex network.
Definition: model_poly.cpp:145
model_poly_analyze
int model_poly_analyze(Bmodel *model)
Analyzes a model for polygon regularity and planarity.
Definition: model_poly.cpp:538
model_vertex_types
int model_vertex_types(Bmodel *model)
Determines the vertex type based on adjacent polygons.
Definition: model_poly.cpp:313
model_poly_find_symmetry
Bstring model_poly_find_symmetry(Bmodel *model, double find)
Finds the symmetry axes associated with polyhedral elements.
Definition: model_poly.cpp:1095
model_poly_eigenvalues
vector< double > model_poly_eigenvalues(Bmodel *model, int show)
Generates the eigenvalues of the adjacency matrix for a model.
Definition: model_poly.cpp:1580
model
Bmodel * model
Definition: bshow.cpp:32
Bstring
Definition: Bstring.h:29
model_poly_regularity
double model_poly_regularity(Bmodel *model)
Analyzes a model for polygon regularity.
Definition: model_poly.cpp:750
rwmodel.h
Header file for reading and writing atomic model files.
show
int show(0)
model_poly_compare
int model_poly_compare(Bmodel *model, Bmodel *refmodel)
Compares a model with reference models based on the eigenvalues of the adjacency matrix.
Definition: model_poly.cpp:1495
Bmodel
Definition: rwmodel.h:119
model_poly_sphere_coor
vector< double > model_poly_sphere_coor(Bmodel *model)
Generates coordinates for components based on the eigenvectors of the adjacency matrix.
Definition: model_poly.cpp:1659
model_poly_links
int model_poly_links(Bmodel *model)
Calculates all the model links.
Definition: model_poly.cpp:597
model_poly_hand
int model_poly_hand(Bmodel *model)
Calculates the polyhedron hand.
Definition: model_poly.cpp:1427