ContoursDoc.tioga
Jules Bloomenthal, September 2, 1986 3:58:53 pm PDT
CEDAR 6.1 — FOR INTERNAL XEROX USE ONLY
Contours
an interface for two-dimensional contours
Jules Bloomenthal
© Copyright 1985 Xerox Corporation. All rights reserved.
Abstract: This software permits the creation and modification of two-dimensional contours.
Created and Maintained by: Bloomenthal.pa
Keywords: contour, two-dimensional, pointset.
DF File: [Cedar]<CedarChest6.1>Top>Contours.df
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
Introduction
The contour type supported by this interface is, simply, a sequence of two-dimensional points; there is no higher or analytic representation for the contour. The contour may be closed, in which case the last point of the sequence connects to the first point.
The Interface
The interface (Contours.mesa) provides for the thinning, smoothing, and interpolating of contours as well as their writing to or reading from a file. The calculation of two-dimensional normals to the contour is also supported. Lastly, a contour may be derived from or written to an interactive viewer (see ControlsDoc.tioga).
Test Programs
Two test programs are provided: ContoursNormals permits the user to interactively create, edit, thin, or smooth a contour, as well as display the normalsl to the contour; ContoursInterpolate permits the user to interactively create two contours and interpolate between them.