The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Math Topics » geometry.pre-college

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Testing if a point is inside a rectangle?
Replies: 3   Last Post: Nov 2, 2006 7:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 2
Registered: 10/30/06
Testing if a point is inside a rectangle?
Posted: Oct 30, 2006 7:56 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi, I'm working on a computer programming assignment and I need to
figure out a function for testing a point (x,y) to determine if it is
on the edge of or inside a rectangle given the 4 points that make up
the rectangle. I'm sure there is a direct method for testing that but I
can't figure it out. Can anyone help? Thanks!

Don Zacharias
BS Comp Sci Student
Sacramento, CA

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.