addSpline
public final PathBuilder addSpline(Vector2d endPosition, Angle endTangent, Double startTangentMag, Double endTangentMag, HeadingInterpolation headingInterpolation)
public final PathBuilder 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
startTangentMag
the magnitude of the start tangent (negative = default magnitude)
endTangentMag
the magnitude of the end tangent (negative = default magnitude)
headingInterpolation
desired heading interpolation