CubicSplinePackageDoc.tioga
Maureen Stone, June 29, 1985 11:11:31 am PDT
Stone, June 29, 1985 1:17:38 pm PDT
CubicSplinePackage
CEDAR 6.0 — FOR INTERNAL XEROX USE ONLY
CubicSplinePackage
2-D cubic splines
Maureen Stone
© Copyright 1985 Xerox Corporation. All rights reserved.
Abstract: A collection of 2-D cubic spline routines. Supports all the curve types in Griffin. Cubic2 replaces CGCubic as a set of simple routines for dealing with parametric cubics.
Created by: Maureen Stone
Maintained by: Maureen Stone <Stone.pa>
Keywords: splines, cubics
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

For Internal Xerox Use Only
1. Cubic2.mesa
Cubic2.mesa is a simple interface for manipulating parametric cubics. It supplies procedures to convert between Bezier and coefficient representation, perform Bezier subdivision and provides a flatness test. It provides the same functionallity as CGCubic, which was implemented by CedarGraphics.
2. CubicSplines.mesa
CubicSplines is a venerable old collection of spline routines for Griffin. The interface converts a sequence of control points to a sequence of cubic pieces (a spline) for the following types of constructions: Interpolating with unit parameterization (naturalUM), Interpolating with chord-length parameterization (naturalAL), Bezier, BSpline and Catmull-Rom splines.
The principal client of this package is Griffin, so the TYPEs are designed to match Griffin. As we develop the next generation of illustrators, this package will evolve. I would appreciate anyone who becomes a client of CubicSplines to please notify me. (Stone.pa)
This package replaces SplineDefs and SplinePkg.
3. CubicPaths.mesa
CubicPaths provides a simple interface between CubicSplines and the Imager with a few extra useful routines thrown in. A CubicPaths.Path is a sequence of Bezier cubics. A path can be enumerated (as for a PathProc), transformed, hit tested and "walked". A walk of a path calls a procedure for every point on the path.