Skip to content

Commit

Permalink
Updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrimstad committed Mar 24, 2016
1 parent 96c3ea0 commit 26bb56c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions include/bsplinebuilder.h
Expand Up @@ -26,18 +26,15 @@ enum class BSpline::Smoothing

// B-spline knot spacing
/*
* To be changed to:
* AS_SAMPLED // Place knots close to sample points. Not clamped.
* AS_SAMPLED_CLAMPED // Place knots close to sample points. With clamps (p+1 repeats on each side). Default.
* EQUIDISTANT // Equidistant knots, not clamped
* EQUIDISTANT_CLAMPED // Equidistant knots with clamps (p+1 repeats on each side)
* EXPERIMENTAL // For testing
* To be added:
* AS_SAMPLED_NOT_CLAMPED // Place knots close to sample points. Without clamps.
* EQUIDISTANT_NOT_CLAMPED // Equidistant knots without clamps.
*/
enum class BSpline::KnotSpacing
{
AS_SAMPLED, // Knot spacing mimicking sample spacing (moving average). With clamps (p+1 repeats on each side).
EQUIDISTANT, // Equidistant knots
EXPERIMENTAL // Experimental knot spacing (needs more testing)
AS_SAMPLED, // Mimic spacing of sample points (moving average). With clamps (p+1 multiplicity of end knots).
EQUIDISTANT, // Equidistant knots. With clamps (p+1 multiplicity of end knots).
EXPERIMENTAL // Experimental knot spacing (for testing purposes).
};

// B-spline builder class
Expand Down

0 comments on commit 26bb56c

Please sign in to comment.