dist2point.3d {eRTG3D}R Documentation

Distance of each track point to a given point

Description

Distance of each track point to a given point

Usage

dist2point.3d(track, point, groundDistance = FALSE)

Arguments

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?

Value

Returns the distance of each track point to the point.

Examples

dist2point.3d(niclas, c(0, 0, 0))

[Package eRTG3D version 0.7.0 Index]