L). "z. G B APLGraphics Dump --by W a l t XieI~off Vestal, JVew York rectangnlar 2, I have always fiked the elegance of the approach that I'll present h e r e - - o n e that handles a rendering surface whose boundaries are defined b y a convex polygon. It is an approach that is nicely implemented using APL. S/icing Polylines with APL - - a process essential to computer graphics. Although today it is usually implemented in microcode or a device driver, it also can be useful at the application level. It is an interesting process with some nice opportunities for exploiting APL. Moreover, there remain some interesting implementation challenges. In last issue's column, I introduced two fine representations: ¢ A parametric form, v = vl + t(v2 - v ~ ¢ A homogeneous form, A x + By + C = 0 Although both forms were discussed in the context o f two dimensions, both are generalizable to n dimensions by simply extending the size ofthe vectors v or (A,B, C~. However, although the parametric form continues to represent a fine when extended, the homogeneous form represents a hyperplane. ( T h e
/lp/association-for-computing-machinery/apl-graphics-dump-slicing-polylines-with-apl-RlHyP1TxhP