R/maths_functions.R
calculate_2d_dist.Rd
Calculate 2D Euclidean distance between two positions
calculate_2d_dist(target_x, target_z, ref_x = 0, ref_z = 0)
Vector of target x positions
Vector of target y positions
Vector of reference x positions (default: origin)
Vector of reference y positions (default: origin)