commandline.ImageStuff
Class Pixel

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

public class Pixel
extends Loc


Field Summary
 
Fields inherited from class commandline.ImageStuff.Loc
x, y
 
Constructor Summary
Pixel(int x, int y, float z)
           
 
Method Summary
 float afstand_3d(Pixel a)
           
 Pixel getCopy()
           
 Loc getLoc()
           
 java.lang.String getPrintValue()
           
 float getZ()
           
 void print()
           
 void setZ(float z)
           
 
Methods inherited from class commandline.ImageStuff.Loc
distance, getX, getY, isOn, min, norm, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pixel

public Pixel(int x,
             int y,
             float z)
Method Detail

afstand_3d

public float afstand_3d(Pixel a)
Parameters:
a -
Returns:
de Euclidische 3D afstand tussen twee pixels

getLoc

public Loc getLoc()

getZ

public float getZ()

setZ

public void setZ(float z)

print

public void print()
Overrides:
print in class Loc

getCopy

public Pixel getCopy()

getPrintValue

public java.lang.String getPrintValue()