PESimplify.mesa
Copyright (C) 1984 by Xerox Corporation. All rights reserved.
Written by Pauline Ts'o on July 12, 1984 11:03:40 am PDT
Last Edited by: Tso, August 14, 1984 10:13:32 am PDT
Beta spline control point simplification routines for the Path Editor.
DIRECTORY
Graphics,
GraphicsBasic,
PathEditor,
PETrajectoryOps,
PETypes,
PEViewer;
PESimplify: CEDAR DEFINITIONS =
BEGIN
WeightedMidpoint: PROCEDURE[activeTrajectory: PETypes.TrajectoryNode, delta: REAL] RETURNS [filtered: BOOLEAN, collinearSegNode: PETypes.SegmentNode, newControlPolygon: PETypes.Trajectory, newSpline: PETypes.Trajectory, oldSegList: PETypes.SegmentList ← NIL];
END.