org.jcae.mesh.cad
Interface CADIterator


public interface CADIterator

Iterator on sub-shapes.

Author:
Denis Barbier

Method Summary
 void initialize(CADShape shape)
          Initialize this explorer
 boolean more()
          Return true if there are more shapes to explore
 void next()
          Move on to the next shape in the exploration
 CADShape value()
          Return the current shape in the exploration
 

Method Detail

initialize

void initialize(CADShape shape)
Initialize this explorer

Parameters:
shape - The shape to explore

more

boolean more()
Return true if there are more shapes to explore

Returns:
true if there are more shapes to explore

next

void next()
Move on to the next shape in the exploration


value

CADShape value()
Return the current shape in the exploration

Returns:
the current shape in the exploration