diff options
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r-- | libcrystfel/src/cell-utils.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index 74f33bb2..174240b6 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -71,6 +71,8 @@ * * Rotate a %UnitCell using a %quaternion. * + * Deprecated: 0.4.3. Use tfn_random_rotation() and cell_transform() instead. + * * Returns: a newly allocated rotated copy of @in. * */ @@ -1045,6 +1047,21 @@ void cell_fudge_gslcblas() } +/** + * rotate_cell: + * @in: A %UnitCell to rotate + * @omega: Euler angle about +z + * @phi: Euler angle about +x + * @rot: Euler angle about new +z + * + * Rotate a %UnitCell using Euler angles + * + * Deprecated: Deprecated since 0.4.3. Use tfn_random_rotation() and + * cell_transform() instead. + * + * Returns: a newly allocated rotated copy of @in. + * + */ UnitCell *rotate_cell(UnitCell *in, double omega, double phi, double rot) { UnitCell *out; |