dist2point.3d {eRTG3D} | R Documentation |
Distance of each track point to a given point
dist2point.3d(track, point, groundDistance = FALSE)
track |
a list containing data.frames with x,y,z coordinates or a data.frame |
point |
a vector with x, y or x, y, z coordinates |
groundDistance |
logical: calculate only ground distance in x-y plane? |
Returns the distance of each track point to the point.
dist2point.3d(niclas, c(0, 0, 0))