|
IsoSurface Rendering of an AR Representation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rlaramee.Vertex
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
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 |
|
Constructor Detail |
public Vertex()
Method Detail |
public abstract float getXcoord()
public abstract float getYcoord()
public abstract float getZcoord()
public abstract void setXcoord(float newX)
the
- x coordinate of this Vertexpublic abstract void setYcoord(float newX)
the
- y coordinate of this Vertexpublic abstract void setZcoord(float newX)
the
- z coordinate of this Vertexpublic boolean isEqual(Vertex vertex)
vertex
- the vertex that may be equal to this one
|
IsoSurface Rendering of an AR Representation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |