Ellipse Glissette
The locus of a vertex of an ellipse that slides while remaining tangent to two fixed perpendicular lines.
History and Applications
The Ellipse Glissette1,2 is the locus traced by a fixed point (typically a vertex) attached to an ellipse as the ellipse slides while remaining tangent to two fixed perpendicular lines, usually the coordinate axes. In this constrained motion the center of the ellipse traces an arc of a circle, a direct consequence of the orthoptic property of the ellipse. The two code variants plot the paths of the major-axis vertex and the minor-axis vertex, respectively. This configuration is the mathematical inverse of the Trammel of Archimedes, in which a straight bar with endpoints constrained to two perpendicular lines generates an ellipse. The algebraic Cartesian equation obtained by eliminating the parameter from the parametric forms was the subject of the “Ellipse-Glissette Elimination Problem,” examined in 1899 by E. J. Nanson3 in connection with mechanical models constructed by Professor Peter Guthrie Tait. Glissettes in general were systematically studied by Catalan in 1865 and Besant in 1869.1
Real-life applications in engineering and the natural sciences are limited and primarily illustrative. The general glissette concept appears in kinematic geometry as a means of understanding constrained plane motion in linkages and mechanisms. The related trammel mechanism itself has been used in ellipsographs and drafting instruments to generate accurate ellipses.
References
- https://mathcurve.com/courbes2d.gb/glissette/glissette.shtml (ellipse glissette description, center and vertex paths, Catalan/Besant studies).
- https://mathworld.wolfram.com/Glissette.html (general glissette definition and ellipse example).
- https://www.cambridge.org/core/journals/proceedings-of-the-royal-society-of-edinburgh/article/on-the-ellipseglissette-elimination-problem/CC9B1B74BFF21A755A9FCE32F88D9532 (Nanson 1899 on the elimination problem and Tait models).
AutoLISP Code
(defun C:ELLIPSEGLISSETTE (/ basept xaxisangle cd sa sb sm om os divcount cosangle sinangle x0 y0 plineents segcount baseinfo
paramstep divpt restartflag id iq dcl opt kw mode dpr dct dpt span eq_display xc yc skm a1 a2 x1 y1 x2 y2 fa fb)
(setq id "Ellipse Glissette"
iq ""
dcl "ELLIPSEGLISSETTE"
opt '("Major axis pt" "Minor axis pt")
kw 0
mode 'polar
dpr "# of divisions in curve"
dct 360
dpt nil
span 360
kw (ca id iq dcl opt kw mode dpr dct dpt span))
(cond
((eq kw 0)
(princ "\nx=b·cos(t), y=a·sin(t)")
(setq fa (get_real 2 "a (semi-major, vertical)" 4.0)
fb (get_real 2 "b (semi-minor, horizontal)" 2.0)
eq_display (strcat "\na=" (rtos fa 2 4) ", b=" (rtos fb 2 4))
xc '(/ (* (cos (eval a2)) (+ (* fa fa) (* (- (* fb fb) (* fa fa)) (eval (sin (eval a2)))))) (alt_expt (avoid_zero (+ (* (* fb fb)
(alt_expt (eval (sin (eval a2))) 2.0 nil)) (* (* fa fa) (alt_expt (cos (eval a2)) 2.0 nil)))) 0.5 nil))
yc '(/ (* fa fb (- 1.0 (eval (sin (eval a2))))) (alt_expt (avoid_zero (+ (* (* fb fb) (alt_expt (eval (sin (eval a2))) 2.0 nil))
(* (* fa fa) (alt_expt (cos (eval a2)) 2.0 nil)))) 0.5 nil))))
((eq kw 1)
(princ "\nx=a·cos(t), y=b·sin(t)")
(setq fa (get_real 2 "a (semi-major axis)" 4.0)
fb (get_real 2 "b (semi-minor axis)" 2.0)
eq_display (strcat "\na=" (rtos fa 2 4) ", b=" (rtos fb 2 4))
xc '(/ (* -1.0 (sin (eval a2)) (+ (* (* fb fb) (- 1.0 (cos (eval a2)))) (* (* fa fa) (cos (eval a2))))) (alt_expt (avoid_zero
(+ (* (* fb fb) (alt_expt (sin (eval a2)) 2.0 nil)) (* (* fa fa) (alt_expt (cos (eval a2)) 2.0 nil)))) 0.5 nil))
yc '(/ (* fa fb (- 1.0 (cos (eval a2)))) (alt_expt (avoid_zero (+ (* (* fb fb) (alt_expt (sin (eval a2)) 2.0 nil))
(* (* fa fa) (alt_expt (cos (eval a2)) 2.0 nil)))) 0.5 nil)))))
(setq skm '(T T T)
a1 0
a2 a1
x1 (eval xc)
y1 (eval yc)
a2 '(+ a1 paramstep)
x2 '(eval xc)
y2 '(eval yc))
(cc))
(C:ELLIPSEGLISSETTE)