ar.edu.unr.fceia.bottallo
Class Point

java.lang.Object
  extended by ar.edu.unr.fceia.bottallo.Point

public class Point
extends java.lang.Object

Represent a point, is useful to check inclusions between graphical elements


Field Summary
protected  float x
           
protected  float y
           
 
Constructor Summary
Point()
          Creates a new instance of Point
 
Method Summary
protected static boolean condA(Point p, Point q)
          Check the relative positions of the left-top point of two elements
protected static boolean condB(Point p, Point q)
          Check the relative positions of the right-top point of two elements
protected static boolean condC(Point p, Point q)
          Check the relative positions of the left-down point of two elements
protected static boolean condD(Point p, Point q)
          Check the relative positions of the right-down point of two elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected float x

y

protected float y
Constructor Detail

Point

public Point()
Creates a new instance of Point

Method Detail

condA

protected static boolean condA(Point p,
                               Point q)
Check the relative positions of the left-top point of two elements


condB

protected static boolean condB(Point p,
                               Point q)
Check the relative positions of the right-top point of two elements


condC

protected static boolean condC(Point p,
                               Point q)
Check the relative positions of the left-down point of two elements


condD

protected static boolean condD(Point p,
                               Point q)
Check the relative positions of the right-down point of two elements