unbend.Rd
Remove torsion and bending of a bent beam, i.e. transform it into a straight line, while keeping its insertion angle (inclination angle of the first segment).
unbend(df)
df | Experimental data (usually read using |
---|
The input data.frame()
with modified (or enriched with):
x: x coordinate
y: y coordinate
z: z coordinate
df should be a formatted data.frame()
, with each row being a point and each columns being:
distance (m): distance between the previous point and this point (first value should be positive)
inclination (degree): insertion angle of the first point (only first value is used)
Mainly used to compute the matrix for input to bend()
from experimental points.
if (FALSE) { filepath = system.file("extdata/6_EW01.22_17_kanan.txt", package = "biomech") df = read_mat(filepath) unbend(df = df) }