cz.cuni.jagrlib.piece
Class VEFDS.VertexIterator

java.lang.Object
  extended by cz.cuni.jagrlib.DefaultProperty
      extended by cz.cuni.jagrlib.DefaultBrepIterator
          extended by cz.cuni.jagrlib.DefaultBrepIteratorOrd
              extended by cz.cuni.jagrlib.piece.VEFDS.VertexIterator
All Implemented Interfaces:
BrepIterator, Property
Enclosing class:
VEFDS

protected class VEFDS.VertexIterator
extends DefaultBrepIteratorOrd

Iterator for all vertices in the scene.


Field Summary
 
Fields inherited from class cz.cuni.jagrlib.DefaultBrepIteratorOrd
n
 
Fields inherited from interface cz.cuni.jagrlib.iface.BrepIterator
CONTEXT, PROJ_COORDS, SORT_ASCENDING, SORT_DESCENDING, SORT_ORDER
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Constructor Summary
protected VEFDS.VertexIterator()
           
 
Method Summary
 int left()
          How many items remain in the set?
 int next()
          Returns id of the next object.
 
Methods inherited from class cz.cuni.jagrlib.DefaultBrepIteratorOrd
reset, toArray
 
Methods inherited from class cz.cuni.jagrlib.DefaultProperty
booleanProperty, booleanProperty, colorDoubleProperty, colorProperty, commit, doubleProperty, doubleProperty, doubleProperty, enumProperty, floatProperty, floatProperty, floatProperty, get, intProperty, intProperty, intProperty, longProperty, longProperty, longProperty, set, set, stringProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Constructor Detail

VEFDS.VertexIterator

protected VEFDS.VertexIterator()
Method Detail

next

public int next()
Returns id of the next object.

Specified by:
next in interface BrepIterator
Specified by:
next in class DefaultBrepIterator
Returns:
Brep.NULL if there is no next object available.

left

public int left()
How many items remain in the set? Non-mandatory - must return Brep.NULL if not implemented.

Specified by:
left in interface BrepIterator
Overrides:
left in class DefaultBrepIterator