commandline.ImageStuff
Class Loc

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

public class Loc
extends java.lang.Object


Field Summary
protected  int x
           
protected  int y
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected int x

y

protected int y
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()