[contrib] generic computeHkl method
[hkl.git] / hkl / hkl-pseudoaxis-common-eulerians-private.h
blobfef7df1841333fa30addeacbc1c1cb6947d73891
1 /* This file is part of the hkl library.
3 * The hkl library is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
8 * The hkl library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with the hkl library. If not, see <http://www.gnu.org/licenses/>.
16 * Copyright (C) 2003-2015 Synchrotron SOLEIL
17 * L'Orme des Merisiers Saint-Aubin
18 * BP 48 91192 GIF-sur-YVETTE CEDEX
20 * Authors: Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
22 #ifndef __HKL_PSEUDOAXIS_COMMON_EULERIANS_H__
23 #define __HKL_PSEUDOAXIS_COMMON_EULERIANS_H__
25 #include "hkl.h" // for HklParameter, etc
26 #include "hkl-pseudoaxis-auto-private.h"// for HklEngine
28 G_BEGIN_DECLS
30 typedef struct _HklEngineEulerians HklEngineEulerians;
32 struct _HklEngineEulerians
34 HklEngine engine;
35 HklParameter *omega;
36 HklParameter *chi;
37 HklParameter *phi;
40 extern HklEngine *hkl_engine_eulerians_new(HklEngineList *engines);
42 extern void kappa_2_kappap(double komega, double kappa, double kphi, double alpha,
43 double *komegap, double *kappap, double *kphip);
45 G_END_DECLS
47 #endif /* __HKL_PSEUDOAXIS_COMMON_EULERIANS_H__ */