Quantcast
Channel: VBForums - Maths Forum
Viewing all articles
Browse latest Browse all 118

[RESOLVED] Generating parallel lines.

$
0
0
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
Attached Images
 

Viewing all articles
Browse latest Browse all 118

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>