From b8b1b1ddb214823e3d9a0a30e3613399e52b87b0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 20 Oct 2012 05:58:30 -0700 Subject: Update documentation --- libcrystfel/src/cell-utils.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'libcrystfel/src/cell-utils.c') 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; -- cgit v1.2.3