Returns x and y midpoint using vectorized curved offset
Arguments
- x0
Numeric vector of x coordinates for start points
- y0
Numeric vector of y coordinates for start points
- x1
Numeric vector of x coordinates for end points
- y1
Numeric vector of y coordinates for end points
- curvature
Scalar curvature (geom_curve style)
- angle
Scalar angle in degrees
- shift
Scalar shift in degrees (default is 0)
- t
Scalar value between 0 and 1 for interpolation (default is 0.5) setting the midpoint