Skip to content

Implement of Philip J. Schneider's "An Algorithm for Automatically Fitting Digitized Curves". Adaptively fit a set of 2D points with one or more cubic Bezier curves.

License

Notifications You must be signed in to change notification settings

tanzby/ParametricCurve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParametricCurve

ParametricCurve implements two kinds of curve, including

  • N order Bezier Curve
  • Cubic PieceWise Spline

Both of them inherit from Curve, which provides

  • Compute the n-order derivative at a point
  • Compute the parameter position (t) closest to a point on the curve
  • Sample points with equal arc distance by numerical method

For more details, read the codes of examples, a simple description about N-orders Bezier Curve can be found in https://zhuanlan.zhihu.com/p/130247362

usage

ParametricCurve only relies on Eigen, just copy the include files to your project.

reference

About

Implement of Philip J. Schneider's "An Algorithm for Automatically Fitting Digitized Curves". Adaptively fit a set of 2D points with one or more cubic Bezier curves.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published