|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.edu.unr.fceia.bottallo.Point
public class Point
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 |
---|
protected float x
protected float y
Constructor Detail |
---|
public Point()
Method Detail |
---|
protected static boolean condA(Point p, Point q)
protected static boolean condB(Point p, Point q)
protected static boolean condC(Point p, Point q)
protected static boolean condD(Point p, Point q)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |