fun splineTo(endPosition: Vector2d, endTangent: Double, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder
(source)
Adds a spline segment with tangent heading interpolation.