Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Line intersects side of rectangle

Line intersects side of rectangle

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 558 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kaznachei
    wrote on last edited by Kaznachei
    #1

    The best way to know which side of rectangle intersected by line. Also i can rotate my rectangle. 0_1557218811987_Безымянный.png

    jsulmJ 1 Reply Last reply
    0
    • K Kaznachei

      The best way to know which side of rectangle intersected by line. Also i can rotate my rectangle. 0_1557218811987_Безымянный.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Kaznachei You should formulate a question, so it is cleare what you are asking.
      I assume you want to know how to determine which rectangle side intersects with a given line?
      I don't think there is anything in Qt, you will need to do some math for that.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved