ImageStuff
Class Loc

java.lang.Object
  extended by ImageStuff.Loc
Direct Known Subclasses:
Pixel

public class Loc
extends java.lang.Object


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

Loc

public Loc(int x,
           int y)
Method Detail

setX

public void setX(int x)
Parameters:
x - The x to set.

setY

public void setY(int y)
Parameters:
y - The y to set.

getX

public int getX()
Returns:
Returns the x.

getY

public int getY()
Returns:
Returns the y.

norm

public float norm()

isOn

public boolean isOn(Loc l)

min

public Loc min(Loc l)

distance

public float distance(Loc l)

print

public void print()