Results 1 to 2 of 2

Thread: Parallel Lines

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    10

    Question

    Anybody know how to make one line parallel

    to another.. Just explain it though... I dont

    Like to use other peoples source... But if u cant

    JUST explain it than i guess source is ok.

    Thx
    Its not whether u win or lose but
    how u place the blame

  2. #2
    Guest

    parallel lines solution

    Prerequisites:
    The slope of a line is:

    slopeY = (y.2 - y.1)
    SlopeX = (x.2 - x.1)
    Slope = SlopeY / SlopeX

    This is pretty simple. Just get the slope of the line to copy (I would advise leaving it in SlopeY/SlopeX format.) You can reverse engineer this to give you y.2 when you give it y.2 and slopeY, so do that. That gives you the location of the points of the line, and as long as the slopes are the same, the line is parallel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width