aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-10-20 05:58:30 -0700
committerThomas White <taw@bitwiz.org.uk>2012-10-20 06:38:29 -0700
commitb8b1b1ddb214823e3d9a0a30e3613399e52b87b0 (patch)
tree764b7afb33b0dfd4a796cca2b9f693d4bc9de846 /libcrystfel/src/cell-utils.c
parentd33230479371986bd58fc3ddc129ef91db4868d7 (diff)
Update documentation
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r--libcrystfel/src/cell-utils.c17
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;