comparing 2 java.awt.geom.area's

iSyncLtd_at_hotmail.com
Date: 02/27/05


Date: 26 Feb 2005 18:16:49 -0800


you can compare an Area to a Rectangle using:

Area a;
Rectangle r;

(boolean) a.instrects( r );

but how can a compare two area's two each other that are not exact
rectagles?

(don't say compare one area to the bounds of another because i need
more accuarcy then that)



Relevant Pages

  • Re: A better cloning mechanism (was: Why not cloneable by default?)
    ... The text of the API documentation is normative when it intends to be, ... it should not be exposing clone(). ... define in no uncertain terms what it means to compare any objects of ... When cloning, the whole point is that if I call cloneon a Rectangle, ...
    (comp.lang.java.programmer)
  • Re: The new U.S. 20 dollar bill contains hidden pictures of 9/11- "Coincidence or a Conspiracy"?
    ... *rectangle* using just about anything. ... Folks at Al-Jazeera have quite a bit of time on their hands. ... compare against. ...
    (soc.culture.lebanon)
  • Re: comparing 2 java.awt.geom.areas
    ... > you can compare an Area to a Rectangle using: ... > but how can a compare two area's two each other that are not exact ... so use the idea at your own risk: ... public static boolean intersects ...
    (comp.lang.java.help)
  • Re: Problems with SetDefaultItem
    ... I've an application where I've got a popup menu. ... Do not compare results to boolean values. ... "When the user opens a submenu by double-clicking, the system sends a command message to ...
    (microsoft.public.vc.mfc)
  • Re: First C Program, Problems getting serial data
    ... There is no reason whatsoever to compare a Boolean value to another ... If you want to compare two boolean values for logical equality, ... If you have a C99 compiler, you can use type _Bool (or bool with ...
    (comp.lang.c)