• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Check Parallel lines if intersect

Stats

  • Replies 7
  • Subscribers 160
  • Views 16607
  • Members are here 0
More Content

Check Parallel lines if intersect

eDaNoy
eDaNoy over 12 years ago

 

Image and video hosting by TinyPic

given image above,

I would like to check both segments (maroon/orange line could be in any slope value) which are parallel to each other if they intersect.

dashed lines are the perpendicular lines of the maroon or of the orange line (my plan is to use these to get the intersections) .

The problem now is, how can i get the points of the perpendicular lines.

Im welcome for other suggestions.

  • Sign in to reply
  • Cancel
Parents
  • D912349
    D912349 over 12 years ago

    Noy,

    Try this approach when you do the function..

    -> remember that lines that are perpendicular have negative reciprocal of the other..

    ex:

    slope1 = - 1/slope2 (given that line of slope1 is perpendicular with slope2)

    ->also consider using slope intercept form in deriving your function

    slope intercept form -> y = mx + b

    where m is the slope and b is the y intercept..

    With this 2 equations, you can now combine it.. You can set the intersection point of the orange line and dotted line as your common point. because this point both lies on the 2 perpendicular lines.. 

    I think this information is enough to solve for the other end of the dotted line.

    Hope this helps..

    Regards,  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • D912349
    D912349 over 12 years ago

    Noy,

    Try this approach when you do the function..

    -> remember that lines that are perpendicular have negative reciprocal of the other..

    ex:

    slope1 = - 1/slope2 (given that line of slope1 is perpendicular with slope2)

    ->also consider using slope intercept form in deriving your function

    slope intercept form -> y = mx + b

    where m is the slope and b is the y intercept..

    With this 2 equations, you can now combine it.. You can set the intersection point of the orange line and dotted line as your common point. because this point both lies on the 2 perpendicular lines.. 

    I think this information is enough to solve for the other end of the dotted line.

    Hope this helps..

    Regards,  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information