parametricValue(_:offsetByTime:)
Returns a parametric value on the B-spline that’s a specified time from the given parametric value.
Declaration
func parametricValue(_ parametricValue: CGFloat, offsetByTime timeStep: TimeInterval) -> CGFloatParameters
- parametricValue:
The floating point
[0, count-1]parametric value. - timeStep:
The time to offset
parametricValue;timeStepcan be positive or negative.
Return Value
A parametric value offset by timeStep from parametricValue.