I draw an arbitrary point in this image.
I want to find the coordinates of the two lines closest to this point.
It should be a straight line when you connect one of the two points to any point.
Like this:
I want to know two thing
First, Is there a library to find the nearest line from an arbitrary point?
Second, Is there any library or algorithm to find a point perpendicular to an arbitrary point?
Please help me.....
You can do this in two steps: first for the closest line, then for the other one.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.