View source: R/geometricThreshold.R
| point2LineDist | R Documentation |
Calculates the distance between point x to the line defined by p1 and p2.
ref: https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line
point2LineDist(p1, p2, x)
p1 |
Point 1 c(x,y) |
p2 |
Point 2 c(x,y) |
x |
Point which distance should be calculated in relation to line formed by |
Distance of x to line defined by p1 and p2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.