Curve::Spline class reference
[Core module]
Declaration
#include <Goptical/Curve/Spline>
namespace Goptical {
namespace Curve {
class Spline;
};
};
This class is a member of the Curve namespace.
Inheritance
Description
This class uses a 1d discrete data set to define a rotationally symmetric sagitta/gradient curve. Several data interpolations algorithm are available allowing use of Smooth Cubic spline interpolation with or without prescribed derivative/gradient data.
See also Data::DiscreteSet class.
Members
See also the full member list section for this class.
Inherited members
- 9 members inherited from Rotational
Functions
Members detail
Create an empty spline curve with no defined point
No documentation available
This virtual function overrides the derivative
virtual function defined in the Rotational
base abstract class.
Documentation inherited from base class:
Get curve derivative at specified distance from origin.
- r: distance from curve origin (0, 0)
void fit(const Rotational &c, double radius, unsigned int points)
Clear all points and fit to an other rotationally symmetric curve.
- c: Curve to fit
- radius: Maximum radius where curve is defined
- points: Number of sample points
const Data::DiscreteSet & get_data() const
Get sagitta/derivative data container
Data::DiscreteSet & get_data()
get sagitta/derivative data container
This virtual function implements the sagitta
pure function declared in the Rotational
base abstract class.
Documentation inherited from base class:
Get curve sagitta at specified distance from origin.
- r: distance from curve origin (0, 0)