get_distance {elastes} | R Documentation |
Distance to a smooth curve
Description
Finds the distance of a discrete open srv curve to a smooth curve
Usage
get_distance(srv_curve, s, q, eps = 10 * .Machine$double.eps)
Arguments
srv_curve |
srv transformation of the smooth curve, needs to be vectorized |
s |
time points for q, first has to be 0, last has to be 1 |
q |
square root velocity vectors, one less than time points in s |
eps |
convergence tolerance |
Value
distance between srv_curve and q
[Package elastes version 0.1.7 Index]