commandline.ImageStuff
Class Vertex

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

public class Vertex
extends Pixel


Field Summary
static int AREA_BASEVERTICES
           
protected  boolean isRegistered
           
static int NO_AREAO
           
 
Fields inherited from class commandline.ImageStuff.Loc
x, y
 
Constructor Summary
Vertex(int x, int y, float z, int verticalOffset, float normalisation)
           
Vertex(Loc l, float z, int verticalOffset, float A_I)
           
Vertex(Pixel p)
           
 
Method Summary
 GenericEdge getLeftEdge()
           
 float getNormalisation()
          geeft de oppervlakte terug grenzend aan de edge waarvan de vertex afkomstig is
 GenericEdge getRightEdge()
           
 int getVerticalOffset()
           
 boolean hasLinkedEdges()
           
 void register(CommitDataStructure dataStructure)
          nooit wordt deze vertex tweemaal geregistreerd
 void setLeftEdge(GenericEdge left)
           
 void setRightEdge(GenericEdge right)
           
 
Methods inherited from class commandline.ImageStuff.Pixel
afstand_3d, getCopy, getLoc, getPrintValue, getZ, print, setZ
 
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
 

Field Detail

NO_AREAO

public static final int NO_AREAO
See Also:
Constant Field Values

AREA_BASEVERTICES

public static final int AREA_BASEVERTICES
See Also:
Constant Field Values

isRegistered

protected boolean isRegistered
Constructor Detail

Vertex

public Vertex(int x,
              int y,
              float z,
              int verticalOffset,
              float normalisation)

Vertex

public Vertex(Loc l,
              float z,
              int verticalOffset,
              float A_I)

Vertex

public Vertex(Pixel p)
Method Detail

getVerticalOffset

public int getVerticalOffset()

setLeftEdge

public void setLeftEdge(GenericEdge left)

setRightEdge

public void setRightEdge(GenericEdge right)

getLeftEdge

public GenericEdge getLeftEdge()

getRightEdge

public GenericEdge getRightEdge()

getNormalisation

public float getNormalisation()
geeft de oppervlakte terug grenzend aan de edge waarvan de vertex afkomstig is


hasLinkedEdges

public boolean hasLinkedEdges()

register

public void register(CommitDataStructure dataStructure)
nooit wordt deze vertex tweemaal geregistreerd