|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--SpatialRelation
This class lists the binary spatial relations that two objects may have
| Field Summary | |
static int |
ABOVE
| | | X | ___|___|___ | | | | ___|___|___ | | | | | | |
static int |
BELOW
| | | | ___|___|___ | | | | ___|___|___ | | | X | | | |
static int |
COCENTRIC
| | | | ___|___|___ | | | X | ___|___|___ | | | | | | |
static int |
LEFT
| | | | ___|___|___ | | X | | ___|___|___ | | | | | | |
static int |
LOWER_LEFT
| | | | ___|___|___ | | | | ___|___|___ | | X | | | | |
static int |
LOWER_RIGHT
| | | | ___|___|___ | | | | ___|___|___ | | | | X | | |
static int |
RIGHT
| | | | ___|___|___ | | | | X ___|___|___ | | | | | | |
static int |
UPPER_LEFT
| | X | | ___|___|___ | | | | ___|___|___ | | | | | | |
static int |
UPPER_RIGHT
| | | | X ___|___|___ | | | | ___|___|___ | | | | | | |
| Constructor Summary | |
(package private) |
SpatialRelation()
|
| Method Summary | |
static int |
cartesian2screen(int relation)
To String |
static int |
getComplement(int relation)
To String |
static int |
screen2cartesian(int relation)
To String |
static java.lang.String |
toString(int relation)
To String |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int UPPER_LEFT
public static final int ABOVE
public static final int UPPER_RIGHT
public static final int LEFT
public static final int COCENTRIC
public static final int RIGHT
public static final int LOWER_LEFT
public static final int BELOW
public static final int LOWER_RIGHT
| Constructor Detail |
SpatialRelation()
| Method Detail |
public static java.lang.String toString(int relation)
public static int cartesian2screen(int relation)
public static int screen2cartesian(int relation)
public static int getComplement(int relation)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||