addSpline
public final T addSpline(Vector2d endPosition, Angle endTangent, Double startTangentMag, Double endTangentMag, HeadingInterpolation headingInterpolation)
public final T addSpline(Vector2d endPosition, Angle endTangent, Double startTangentMag, Double endTangentMag)
Adds a spline segment with the specified heading interpolation.
Parameters
endPosition
end position
endTangent
end tangent (negative = default magnitude)
endTangentMag
the magnitude of the end tangent (negative = default magnitude)
headingInterpolation
the desired heading interpolation