dev/math/geom/ SimpleComputationalGeometry


Detecting clicks on lines

Find the distance from a point to the line, and see if it is below a tolerance value. See https://stackoverflow.com/questions/849211/shortest-distance-between-a-point-and-a-line-segment