BasePluginCameraInterpolateFromNPoints Method |
Calculates a value y to the given value x by performing a
polynomial interpolation between the given points.
In case of four points a cubic interpolation is done:
y = f(x) = a*x^3 + b*x^2 + c*x + d.
Namespace: RAYLASE.Marker.CamerasPluginAssembly: RAYLASE.Marker.CamerasPlugin (in RAYLASE.Marker.CamerasPlugin.dll) Version: 2.19.0
Syntaxpublic static double InterpolateFromNPoints(
List<dvec2> points,
double x,
out double dy
)
Parameters
- points Listdvec2
- The points defining the polynomial.
- x Double
- The x value the y value is searched to.
- dy Double
- An error estimation value.
Return Value
DoubleThe interpolated y value.
ExceptionsException | Condition |
---|
ApplicationException | |
See Also