laser_line_extraction icon indicating copy to clipboard operation
laser_line_extraction copied to clipboard

can you explain what the function double Line::distToPoint(unsigned int index) does ?

Open mouad-boumediene opened this issue 2 years ago • 0 comments

what exactly the function distToPoint from the Line class does?

  • calculate the distance of a point to is orthogonal projection on the line segment?
  • calculate the distance of a point to the start of the line segment?

thanks in advance

mouad-boumediene avatar May 30 '22 17:05 mouad-boumediene