I have a line defined by coordinates (x1,y1,x2,y2) and pairs of circles that are centered on (x1,y1). What I am looking for is a way to calculate the line coords for a connection between circles that are parallel to the original line but offset on either side by some fixed distance d.
In the picture that should (I hope) show up below, the green line is the original, what I want are the two red ones.
![Name: ShowCircle.png
Views: 38
Size: 759 Bytes]()
In the picture that should (I hope) show up below, the green line is the original, what I want are the two red ones.