Aplanar, two-dimensional geometry in APL

  • Authors:
  • G. J. Porter

  • Affiliations:
  • University of Pennsylvania, Philadelphia, Pennsylvania

  • Venue:
  • ACM SIGAPL APL Quote Quad
  • Year:
  • 1980

Quantified Score

Hi-index 0.01

Visualization

Abstract

The algebraic and array-value orientations of APL make it a very desirable language to use for geometry. A point is given by its coordinates, a line by its endpoints, and more generally, a polyline or stroke by an ordered collection of N points. These are all arrays. More complicated pictures can be created as a union of these elements.In this note we describe a workspace, APLANAR, for two-dimensional (planar) geometry. This workspace is used in conjunction with a viewing system (graphics package) to produce graphic output. The viewing system is described in Appendix II.