|
Bsoft
2.1.0
Bernard's software package
|
Library routines used for model symmetry operations. More...
Go to the source code of this file.
Functions | |
| long | model_find_asymmetric_unit (Bmodel *model, Bstring &symmetry_string) |
| Set model component locations within the asymmetric unit. More... | |
| long | model_apply_point_group (Bmodel *model, Bstring &symmetry_string, Vector3< double > origin, View ref_view, int flags=0) |
| Applying symmetry to model components. More... | |
| long | models_apply_point_group (Bmodel *model, Bstring &symmetry_string, Vector3< double > origin, View ref_view, int flags=0) |
| Applying symmetry to model components. More... | |
| long | model_symmetrize (Bmodel *model, Bstring &symmetry_string) |
| Symmetrize a model. More... | |
| long | model_symmetry_related (Bmodel *model, Bstring &symmetry_string) |
| Generates a list of symmetry-related models. More... | |
Library routines used for model symmetry operations.
Definition in file model_symmetry.h.
| long model_apply_point_group | ( | Bmodel * | model, |
| Bstring & | symmetry_string, | ||
| Vector3< double > | origin, | ||
| View | ref_view, | ||
| int | flags | ||
| ) |
Applying symmetry to model components.
| *model | model parameters. |
| &symmetry_string | symmetry code. |
| origin | transformation origin. |
| ref_view | reference view. |
| flags | 1=find asu. |
Only the first model is processed.
Definition at line 71 of file model_symmetry.cpp.
Set model component locations within the asymmetric unit.
| *model | model parameters. |
| &symmetry_string | symmetry code. |
Only the first model is processed.
Definition at line 34 of file model_symmetry.cpp.
Symmetrize a model.
| *model | model parameters. |
| &symmetry_string | symmetry code. |
For each component, a new location is calculated from the average location of the closest symmetry-related components.
Definition at line 282 of file model_symmetry.cpp.
Generates a list of symmetry-related models.
| *model | model parameters. |
| &symmetry_string | symmetry code. |
For each component, a new location is calculated from the average location of the closest symmetry-related components.
Definition at line 381 of file model_symmetry.cpp.
| long models_apply_point_group | ( | Bmodel * | model, |
| Bstring & | symmetry_string, | ||
| Vector3< double > | origin, | ||
| View | ref_view, | ||
| int | flags | ||
| ) |
Applying symmetry to model components.
| *model | model parameters. |
| &symmetry_string | symmetry code. |
| origin | transformation origin. |
| ref_view | reference view. |
| flags | 1=find asu. |
All models in the list are processed.
Definition at line 194 of file model_symmetry.cpp.