ImageStuff
Class Pixel

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

public class Pixel
extends Loc


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 ImageStuff.Loc
distance, getX, getY, isOn, min, norm, setX, setY
 
Methods inherited from class java.lang.Object
equals, 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()