Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class edu.calpoly.smetzger.j3d.loaders.Facet

java.lang.Object
    |
    +----java.util.AbstractCollection
            |
            +----java.util.AbstractList
                    |
                    +----java.util.Vector
                            |
                            +----edu.calpoly.smetzger.j3d.loaders.Facet

public class Facet
extends java.util.Vector
This class extends the Vector class. A Facet consists of a list of vertexes as a vector


Fields inherited from class java.util.Vector
 capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
 modCount
 

Constructor Summary
 Facet(int initial)
Instantiate the class with an inital number of indexes.
 Facet(java.util.Vector vl)
Instantiate the class with an inital number of vector elements.
 

Method Summary
void  add(int index)
Add a index to the facet.
int  getVertex(int index)
Return a vertex index
 
Methods inherited from class java.util.Vector
 add, addAll, addAll, addElement, capacity, clear, clone, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
 add, add, addAll, equals, get, hashCode, indexOf, indexOf, iterator, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, removeRange, set
 
Methods inherited from class java.util.AbstractCollection
 add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Facet

public Facet(int initial)
Instantiate the class with an inital number of indexes.
Parameters:
initial - the intial capacity for this object

Facet

public Facet(java.util.Vector vl)
Instantiate the class with an inital number of vector elements.
Parameters:
vl - reference to a vertex list
Method Detail

add

public void add(int index)
Add a index to the facet.
Parameters:
index - vector index to add to the facet

getVertex

public int getVertex(int index)
Return a vertex index
Parameters:
index - for the vertex

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS