34 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_KX
35 #define GVF_PARAMETRIC_3D_ELLIPSE_KX 0.001
39 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_KY
40 #define GVF_PARAMETRIC_3D_ELLIPSE_KY 0.001
44 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_KZ
45 #define GVF_PARAMETRIC_3D_ELLIPSE_KZ 0.001
49 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_R
50 #define GVF_PARAMETRIC_3D_ELLIPSE_R 80
54 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_ZL
55 #define GVF_PARAMETRIC_3D_ELLIPSE_ZL 40
59 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_ZH
60 #define GVF_PARAMETRIC_3D_ELLIPSE_ZH 40
64 #ifndef GVF_PARAMETRIC_3D_ELLIPSE_ALPHA
65 #define GVF_PARAMETRIC_3D_ELLIPSE_ALPHA 0
73 float *f1dd,
float *f2dd,
float *f3dd)
86 *f1 = r * cosf(wb) + xo;
87 *f2 = r * sinf(wb) + yo;
88 *f3 = 0.5 * (zh + zl + (zl - zh) * sinf(alpha_rad - wb));
92 *f3d = -0.5 * (zl - zh) * cosf(alpha_rad - wb);
94 *f1dd = -r * cosf(wb);
95 *f2dd = -r * sinf(wb);
96 *f3dd = -0.5 * (zl - zh) * sinf(alpha_rad - wb);
gvf_parametric_con gvf_parametric_control
gvf_parametric_tra gvf_parametric_trajectory
Guiding vector field algorithm for 2D and 3D parametric trajectories.
#define GVF_PARAMETRIC_3D_ELLIPSE_KX
#define GVF_PARAMETRIC_3D_ELLIPSE_KY
#define GVF_PARAMETRIC_3D_ELLIPSE_ZH
#define GVF_PARAMETRIC_3D_ELLIPSE_ALPHA
#define GVF_PARAMETRIC_3D_ELLIPSE_KZ
void gvf_parametric_3d_ellipse_info(float *f1, float *f2, float *f3, float *f1d, float *f2d, float *f3d, float *f1dd, float *f2dd, float *f3dd)
#define GVF_PARAMETRIC_3D_ELLIPSE_ZL
#define GVF_PARAMETRIC_3D_ELLIPSE_R
gvf_par_3d_ell_par gvf_parametric_3d_ellipse_par
Guiding vector field algorithm for 2D and 3D complex trajectories.