Answer the question
In order to leave comments, you need to log in
How to find contact lines on forms?
Hello everyone, I don’t know how to explain exactly, I need to find the lines of contact with the forms.
There are two forms, you need to find the red lines as in the picture, something like draw a belt around the gears))
Find the option with the help of rays, start from some point and find the contact lines, like here https://www.redblobgames.com/ articles/visibility/ but I don't think this is the best option.
Any idea how this can be done?
Answer the question
In order to leave comments, you need to log in
There is a similar method, but not by means of rays, but by constructing a convex geometry. Lines can be drawn from it. This method is called Convex hull
https://github.com/mikolalysenko/monotone-convex-h...
Look for the term "junction points" - it's from geometry, possibly from descriptive geometry. Then you will understand how to do it.
connect each point of the first figure with all points of the second and choose from the resulting lines those that do not intersect any other lines
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question