fPointLineSegmentProjection: http://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment

View source: R/fPointLineSegmentProjection.R

fPointLineSegmentProjectionR Documentation

http://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment

Description

http://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment

Usage

fPointLineSegmentProjection(
  vnX,
  vnY,
  vnStartX,
  vnStartY,
  vnEndX,
  vnEndY,
  bReturnNormalisedPosition = F
)

Arguments

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


thecomeonman/POV documentation built on Sept. 24, 2022, 8:31 p.m.