IsoSurface Rendering of an AR Representation

rlaramee
Class Vertex

java.lang.Object
  |
  +--rlaramee.Vertex
Direct Known Subclasses:
CubeVertex, TriangleVertex

public abstract class Vertex
extends java.lang.Object

Description A [cube|triangle] is made up of [8|3] vertices. Including a vertex class in the design allows flexibility in implementation.

platform independent storage requirements:

 byte   1 byte
 short  2 bytes
 int    4 bytes
 float  4 bytes
 double 8 bytes
 long   8 bytes
 

start date Tue 27 April 1999

Version:
1.0
Author:
Robert S Laramee
See Also:
Cube.java

Constructor Summary
Vertex()
          vertex constructor(s)
 
Method Summary
abstract  float getXcoord()
          This method must be over-ridden
abstract  float getYcoord()
          This method must be over-ridden
abstract  float getZcoord()
          This method must be over-ridden
 boolean isEqual(Vertex vertex)
          Checks to see if 2 vertices are the same
abstract  void setXcoord(float newX)
          This method must be over-ridden
abstract  void setYcoord(float newX)
          This method must be over-ridden
abstract  void setZcoord(float newX)
          This method must be over-ridden
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

Vertex

public Vertex()
vertex constructor(s)

Method Detail

getXcoord

public abstract float getXcoord()
This method must be over-ridden

Returns:
the x coordinate of this Vertex

getYcoord

public abstract float getYcoord()
This method must be over-ridden

Returns:
the t coordinate of this Vertex

getZcoord

public abstract float getZcoord()
This method must be over-ridden

Returns:
the z coordinate of this Vertex

setXcoord

public abstract void setXcoord(float newX)
This method must be over-ridden

Parameters:
the - x coordinate of this Vertex

setYcoord

public abstract void setYcoord(float newX)
This method must be over-ridden

Parameters:
the - y coordinate of this Vertex

setZcoord

public abstract void setZcoord(float newX)
This method must be over-ridden

Parameters:
the - z coordinate of this Vertex

isEqual

public boolean isEqual(Vertex vertex)
Checks to see if 2 vertices are the same

Parameters:
vertex - the vertex that may be equal to this one
Returns:
TRUE if the given vertex is in the same spot in coordinate space as this one

IsoSurface Rendering of an AR Representation