Results 1 to 1 of 1
  1. #1
    busdude is offline Member
    Join Date
    Oct 2008
    Rep Power

    Default Finding distance from a point to a Rectangle2D.objecy

    Is there a method or a way to find the linear distance from a specific point to the nearest point of a Rectangle2D object? Could be any point on the outline of the Rectangle, not necessarily one of the corners.
    Last edited by busdude; 04-02-2009 at 09:02 PM.

Similar Threads

  1. Replies: 2
    Last Post: 04-14-2009, 10:01 PM
  2. Replies: 11
    Last Post: 04-01-2009, 03:43 AM
  3. Calculate X and Y given starting angle and distance
    By nidhirastogi in forum Java 2D
    Replies: 5
    Last Post: 08-18-2008, 10:24 PM
  4. Replies: 0
    Last Post: 07-27-2008, 07:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts