Reputation: 4501
consider the red line to be given as a sequence of points
I'm looking for an algorithm to create the outlines of the thick black shape (also as a sequence of points) such that they are ordered cleanly. And the outline should also respect a minimum distance to itself.
What algorithm can I use to achieve this?
Upvotes: 4
Views: 831
Reputation: 533
You will need two types of offsetting algorithms:
Let r be the distance to the red line, and b the desired thickness of the wall between the black lines/tracks.
Upvotes: 2