Description Usage Arguments Details Author(s) See Also Examples
Various integrals over Bezier curves such as total arc length and bending energy
1 2 | bezier_arclength(P, t1=0,t2=1,give=FALSE,...)
bezier_bending_energy(P, t1=0,t2=1, give=FALSE, power=2, ...)
|
P |
Control points in the form of a 4 by 2 matrix with rows corresponding to P_0 to P_3 |
give |
Boolean, with |
power |
Function |
t1,t2 |
In function |
... |
Further arguments passed to |
These functions use numerical integration, specifically
integrate()
, between two specified points on a Bezier curve.
Function bezier_bending_energy()
gives the
and bending energy (S ds/R).
Function bezier_arclength()
gives the arc length.
Robin K. S. Hankin
1 2 3 | P <- matrix(c(0, 1, 2, 2, 2, 0, 3, 2),4,2)
bezier_arclength(P)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.