1gleLathe(3GLE) GLE gleLathe(3GLE)
2
3
4
6 gleLathe - Sweep using a Z-axis shear to create an arbitrary contour
7 along a helical path.
8
10 void gleLathe (int ncp,
11 gleDouble contour[][2],
12 gleDouble cont_normal[][2],
13 gleDouble up[3],
14 gleDouble startRadius, /* spiral starts in x-y plane */
15 gleDouble drdTheta, /* change in radius per revolution */
16 gleDouble startZ, /* starting z value */
17 gleDouble dzdTheta, /* change in Z per revolution */
18 gleDouble startXform[2][3], /* starting contour affine xform */
19 gleDouble dXformdTheta[2][3], /* tangent change xform per revoln */
20 gleDouble startTheta, /* start angle in x-y plane */
21 gleDouble sweepTheta); /* degrees to spiral around */
22
24 ncp number of contour points
25
26 contour 2D contour
27
28 cont_normal
29 2D contour normals
30
31 up up vector for contour
32
33 startRadius
34 spiral starts in x-y plane
35
36 drdTheta change in radius per revolution
37
38 startZ starting z value
39
40 dzdTheta change in Z per revolution
41
42 startXform
43 starting contour affine transformation
44
45 dXformdTheta
46 tangent change xform per revolution
47
48 startTheta
49 start angle in x-y plane
50
51 sweepTheta
52 degrees to spiral around
53
55 Sweep an arbitrary contour along a helical path. The sweep will be per‐
56 formed as a shear along the z-axis, so that the orientation of the con‐
57 tour is displaced, rather than translated, as the contour is swept.
58
59 The axis of the helix lies along the modeling coordinate z-axis.
60
61 An affine transform can be applied as the contour is swept. For most
62 ordinary usage, the affines should be given as NULL.
63
64
66 gleSpiral
67
69 Linas Vepstas (linas@linas.org)
70
71
72
73GLE 3.0 gleLathe(3GLE)