public interface CurveBuilder
| Modifier and Type | Method and Description |
|---|---|
CurveBuilder |
addPoint(double time,
RandomVariable value,
boolean isParameter)
Add a point to the curve.
|
Curve |
build()
Build the curve.
|
Curve build() throws CloneNotSupportedException
CloneNotSupportedException - Thrown if the curve could not be build (likely due to a template throwing CloneNotSupportedException.CurveBuilder addPoint(double time, RandomVariable value, boolean isParameter)
time - The time of the corresponding point.value - The value of the corresponding point.isParameter - A boolean, specifying weather the point should be considered a free parameter (true) or not (false). Fee parameters can be used to create a clone with modified values, see CurveInterpolation.getCloneForParameter(RandomVariable[])Copyright © 2019. All rights reserved.