Improve Spline/Bézier Support

From BRL-CAD
Revision as of 10:58, 5 March 2016 by 156.34.45.57 (talk) (Undo revision 9250 by 96.44.189.101 (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Improve Spline/Bézier Support

LibreCAD has basic support for B-spline and quadratic splines, but many interesting features are still missing. For example, methods for trimming, offsetting, hatching, tangential directions, etc. are required to allow extensive usage of splines in LibreCAD. A rather comprehensive collection of spline mathematics can be found at A Primer on Bézier Curves Examples of spline features to implement:

  • Trimming
  • Hatching
  • Arc length
  • Area enclosed within a contour

Requirement

  • C++, math

Reference