Click or drag to resize

BSpline1D Methods

The BSpline1D type exposes the following members.

Methods
 NameDescription
Public methodStatic membercreateApproxBSpline Creates an approximating B-spline with the requested number of control points.
Protected methodStatic membercreateInterpBSpline Creates an interpolating B-spline and optionally enforces sorted data or equally spaced knots.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodgetKnots Gets a copy of the knot vector.
Public methodgetMaxKnot Gets the maximum knot value.
Public methodgetMinKnot Gets the minimum knot value.
Public methodStatic memberGetTimeInterval Returns the index of the interval containing the queried time using a binary search.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUOfX Gets the u value (0..1), for a given x-value. This function can only be used when the spline was constructed with points that were sorted by x (ascending or descending).
Public methodgetX Gets a copy of the x control points.
Public methodGetXOfU Evaluates the spline x-coordinate at the provided normalized parameter.
Public methodgetY Gets a copy of the y control points.
Public methodGetYOfU Evaluates the spline y-coordinate at the provided normalized parameter.
Public methodGetYOfX Gets the y value, for a given x-value. This function can only be used when the spline was constructed with points that were sorted by x (ascending or descending).
Public methodInterpolate Sets the interpolation data by providing values for x and y. Both vectors must be of equal length.
Public methodStatic memberInterpolateCurve Builds a spline representing a parametric curve without assuming sorted x coordinates.
Public methodStatic memberInterpolateFunctionSorted Builds a spline suitable for interpolation when the input points are already sorted by x.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also