edu.jhu.ece.iacl.jist.structures.geom
Class Surface

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.structures.geom.Surface
Direct Known Subclasses:
TriangleSurface

public abstract class Surface
extends java.lang.Object

The Class Surface.


Field Summary
protected  java.util.HashSet<Edge> edges
          The edges.
protected  java.util.HashSet<Face> faces
          The faces.
protected  java.util.HashSet<Vertex> vertices
          The vertices.
 
Constructor Summary
Surface(int vertexCount)
          Instantiates a new surface.
 
Method Summary
 void add(Face f)
          Adds the.
 Edge[] getEdges()
          Gets the edges.
 Face[] getFaces()
          Gets the faces.
abstract  GeometryArray getGeometryArray()
          Gets the geometry array.
 Vertex[] getVertices()
          Gets the vertices.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

faces

protected java.util.HashSet<Face> faces
The faces.


vertices

protected java.util.HashSet<Vertex> vertices
The vertices.


edges

protected java.util.HashSet<Edge> edges
The edges.

Constructor Detail

Surface

public Surface(int vertexCount)
Instantiates a new surface.

Parameters:
vertexCount - the vertex count
Method Detail

getVertices

public Vertex[] getVertices()
Gets the vertices.

Returns:
the vertices

getEdges

public Edge[] getEdges()
Gets the edges.

Returns:
the edges

getFaces

public Face[] getFaces()
Gets the faces.

Returns:
the faces

add

public void add(Face f)
Adds the.

Parameters:
f - the f

getGeometryArray

public abstract GeometryArray getGeometryArray()
Gets the geometry array.

Returns:
the geometry array

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object