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