Description Usage Arguments Details
get coordinate to draw perpendicular segment
1 | get_perpendicular_segment(x1, y1, x2, y2, x3, y3, longer = FALSE)
|
x1 |
x coordinate of point 1 |
y1 |
y coordinate of point 1 |
x2 |
x coordinate of point 2 |
y2 |
y coordinate of point 2 |
x3 |
x coordinate of point 3 |
y3 |
y coordinate of point 3 |
longer |
TRUE or FALSE |
following formulas thanks to jdbertron cf http://stackoverflow.com/questions/10301001/perpendicular-on-a-line-segment-from-a-given-point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.