View source: R/A020_bezierInterpolate4Points.R
bezierInterpolate4Points | R Documentation |
Performs a bezier interpolation based on four points. Instead of requiring the middle two points, the angle of vectors from the start to point 2 and from the end to point 3 are required.
bezierInterpolate4Points(x, y, angles, tseq, tanInf = 100)
x, y |
co-ordinates of the start and end points. |
angles |
the first angle is the from the start and the second is from the end. |
tseq |
sequence of parameters for the bezier curve |
tanInf |
value at which tan of angle is considered large enough to be infinite. I think this avoids dividing by zero? or smoother vertical lines??? |
Returns a curve of points. See bezier() in the bezier package for more details.
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.