Skip to content

svark/asti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asti

This is a cagd library with the following functionality implemented so far

  • splines (regular,periodic,rational).
  • conic arc, circle, line.
  • subdivide curve.
  • split splines to bezier segments.
  • extend splines.
  • trim splines
  • join splines
  • interpolate points to form splines (both periodic and regular) using pchip.
  • raise degree.
  • insert knots.
  • remove knot for curve fairing.
  • cubic and quad approximation
  • distance of a point to a curve.
  • arc lengths of curves.
  • implicitize 2d curves
  • monomial and Bezier-Bernstein form of polynomial curves and change of basis.
  • point inversion on spline to determine parameters.
  • bspline surface, ruled surface, extrude.
  • legendre polynomial form of bezier curves
  • reduce degree of curves.
  • hodographs of bsplines
  • tessellating splines
  • tight bbox computation of bsplines

Build Status Build Status
Coverity Scan Build Status

My plan is to read up text books Hoschek/Farin/Piegl and translate the book ideas into code as much as I can in here. Well some ideas are new too 😄 The project uses fips to handle builds and catch to perform unit testing. Tested (via travis) with gcc 4.9 on osx and linux. On windows, i use vs2015.