Constructor SplineData
SplineData()
Create a new SplineData instance.
Declaration
public SplineData()
SplineData(T)
Create a new SplineData instance with a single value in it.
Declaration
public SplineData(T init)
Parameters
Type | Name | Description |
---|---|---|
T | init | A single value to add to the spline data at t = 0.` |
SplineData(IEnumerable<DataPoint<T>>)
Create a new SplineData instance and initialize it with a collection of data points. DataPoints will be sorted and stored in ascending order by Index.
Declaration
public SplineData(IEnumerable<DataPoint<T>> dataPoints)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<DataPoint<T>> | dataPoints | A collection of DataPoints to initialize SplineData.` |