Calculate distance between two points.
Another rather superfluous helper function, internally used by smoothArc
. Calculates the distance between two points.
distPoints(A, B)
A |
Vector of length two, indicating x and y of first point. |
B |
Vector of length two, indicating x and y of second point. |
Distance between the two points.
Lutz P Breitling <l.breitling@posteo.de>
dp<-distPoints(c(0,0), c(1,1)); dp; dp^2;
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.