org.jcae.mesh.bora.ds
Class BCADGraph

java.lang.Object
  extended by org.jcae.mesh.bora.ds.BCADGraph

public class BCADGraph
extends java.lang.Object

Mesh graph.


Constructor Summary
BCADGraph(BModel m, CADShape shape)
          Creates a root mesh.
 
Method Summary
 BCADGraphCell getById(int i)
          Gets a graph cell by its identifier
 BCADGraphCell getByShape(CADShape s)
          Gets a graph cell by its shape
 java.util.Collection<BCADGraphCell> getCellList(CADShapeEnum cse)
          Returns the list of cells for a given dimension.
 int getFreeIndex()
           
 BModel getModel()
           
 BCADGraphCell getRootCell()
           
 void printShapes()
          Prints the list of geometrical elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCADGraph

public BCADGraph(BModel m,
                 CADShape shape)
Creates a root mesh.

Method Detail

getModel

public BModel getModel()

getRootCell

public BCADGraphCell getRootCell()

getFreeIndex

public int getFreeIndex()

getByShape

public BCADGraphCell getByShape(CADShape s)
Gets a graph cell by its shape

Parameters:
s - CAD shape
Returns:
graph cell representing s

getById

public BCADGraphCell getById(int i)
Gets a graph cell by its identifier

Parameters:
i - cell index
Returns:
graph cell with identifier i

getCellList

public java.util.Collection<BCADGraphCell> getCellList(CADShapeEnum cse)
Returns the list of cells for a given dimension.


printShapes

public void printShapes()
Prints the list of geometrical elements.