R/maths_functions.R
orthdist.Rd
This can be used to determine when an object crosses a line perpendicular to p1p2, for example along a line from threat to safety
orthdist(p1, p2, p3)
A vector of arbitrary dimension
Another vector with he same dimensions as p1
Yet another vector with the same dimensions
A scalar