Clinton Freeman

Computer Science, Design

Main menu

Skip to primary content
Skip to secondary content
  • Articles
  • Level Design
    • Wend
    • Dwell
    • Lost at Sea
      • Making of Lost at Sea
    • Putrefactory
    • Simmer
    • Misery
    • Disposed
    • Bricks, Rocks, n’ Stuff
    • Rust in Peace
    • SaintTourney1
    • SaintCTF3
    • SaintCTF2
    • SaintCTF1
  • Software
    • Exact3D
    • PoseDesigner
    • Q3Plan
    • RationalCAD

Tag Archives: line-line intersection

Computing the Intersection of Two Lines

Posted on March 3, 2021 by Clinton Freeman

Two lines ax + by + c = 0 and dx + ey + f = 0 intersect when ax + by + c = dx + ey + f. We can solve for x and y in terms of the coefficients as follows. First, solve for x:

(1)   \begin{align*}ax + by + c &= 0\\ax &= -by - c\\ x &= \frac{-by - c}{a}.\end{align*}

Continue reading →
Posted in Math, Programming | Tagged 2d line intersection, line-line intersection | 1 Reply

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Powered by Wordpress

This site’s content and theme are a result of many years of slow accretion. Based on TwentyEleven by the fine folks at WordPress. Tentatively and uncreatively dubbed The FreeMan Theme. Find me on Mastodon.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other subscriber