Difference between revisions of "Improve Spline/Bézier Support"

From BRL-CAD
(LibreCAD Projects: Added spline idea page)
 
(Improve Spline/Bézier Support: added reference)
Line 11: Line 11:
 
==Requirement==
 
==Requirement==
 
*C++, math
 
*C++, math
 +
 +
==Reference==
 +
*[http://pomax.github.io/bezierinfo/ A Primer on Bézier Curves]

Revision as of 23:52, 6 March 2015

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