资源说明:Curve modulation library.
Curve ===== This is com.elbeno.curve, a library for modulating various kinds of curves. This library depends on com.elbeno.vector and vecto. The following curves are supported: * Circles * Ellipses * Cubic Bézier curves * Cubic Bézier splines * Line segments * "Polylines" i.e. sequences of line segments Each curve type may be modulated onto each other curve type (e.g. modulate a "wave" Bézier curve onto a circle to produce a circle with a wavy edge). C1 continuity is preserved. Arbitrary elliptical arcs are approximated with cubic Bézier curves using the method in Luc Maisonobe's paper "Drawing an elliptical arc using polylines, quadratic or cubic Bézier curves" (which can be found at http:// www.spaceroots.org/documents/ellipse/elliptical-arc.pdf). Sample usage/output can be seen from the file test.lisp or by invoking (runtests).
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。