Skip to content

vlt.math.ptontoline

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

  [XLYL, BS] = vlt.math.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: vlt.math.pts2line