|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectImageStuff.Loc
public class Loc
| Constructor Summary | |
|---|---|
Loc(int x,
int y)
|
|
| Method Summary | |
|---|---|
float |
distance(Loc l)
|
int |
getX()
|
int |
getY()
|
boolean |
isOn(Loc l)
|
Loc |
min(Loc l)
|
float |
norm()
|
void |
print()
|
void |
setX(int x)
|
void |
setY(int y)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Loc(int x,
int y)
| Method Detail |
|---|
public void setX(int x)
x - The x to set.public void setY(int y)
y - The y to set.public int getX()
public int getY()
public float norm()
public boolean isOn(Loc l)
public Loc min(Loc l)
public float distance(Loc l)
public void print()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||