kam3k / laser_line_extraction

A ROS package that extracts line segments from LaserScan messages.
BSD 3-Clause "New" or "Revised" License
412 stars 203 forks source link

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

Closed mouad-boumediene closed 2 years ago

mouad-boumediene commented 2 years ago

what exactly the function distToPoint from the Line class does?

thanks in advance

kam3k commented 2 years ago

It is the distance of a point to its orthogonal projection on the line segment.