Skip to content

ptontoline

  PTONTOLINE - calculate distance of point onto nearest point on line (2D)

  [XLYL, BS] = PTONTOLINE(XY, M, B)

  XLYL is the distance in X and Y. BS of offset of the line that joins the point to
  the specified line M and B.

  See also: PTS2LINE