Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Got another one
#3
Two points does not determine a rectangle, so take the simple case. One line will go from x1,y1 to x2, y1, next x1,y1 to x1, y2, etc.

A point will be within the rectangle if the X value is between x1 and x2 AND the Y value is between y1 and y2.
Done.
Reply


Messages In This Thread
Got another one - by DansterTx - Feb-17-2020, 12:53 AM
RE: Got another one - by michael1789 - Feb-17-2020, 01:17 AM
RE: Got another one - by DansterTx - Feb-17-2020, 03:04 AM
RE: Got another one - by jefsummers - Feb-17-2020, 01:21 AM
RE: Got another one - by michael1789 - Feb-17-2020, 03:21 AM
RE: Got another one - by ndc85430 - Feb-17-2020, 06:35 AM
RE: Got another one - by DansterTx - Feb-17-2020, 06:10 PM
RE: Got another one - by jefsummers - Feb-17-2020, 06:45 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020