View source: R/fPointLineSegmentProjection.R
fPointLineSegmentProjection | R Documentation |
http://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment
fPointLineSegmentProjection( vnX, vnY, vnStartX, vnStartY, vnEndX, vnEndY, bReturnNormalisedPosition = F )
bReturnNormalisedPosition |
T - a 0 to 1 value is returned to for where the point lies between the start point and end point, F - actual coordinates are returned |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.