org.jcae.mesh.cad
Interface CADWireExplorer


public interface CADWireExplorer

Explores edges of a wire


Method Summary
 CADEdge current()
          Return the current edge in the exploration
 void init(CADWire wire, CADFace face)
          Initialize the explorer
 boolean more()
          Return true if there are more edges to explore
 void next()
          Moves on to the next edge in the exploration
 

Method Detail

init

void init(CADWire wire,
          CADFace face)
Initialize the explorer

Parameters:
wire - The wire to explore
face - The underlying face (used for 2D analysis)

more

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

Returns:
true if there are more edges to explore

next

void next()
Moves on to the next edge in the exploration


current

CADEdge current()
Return the current edge in the exploration

Returns:
The current edge in the exploration