|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.bora.ds.BCADGraphCell
public class BCADGraphCell
Graph cell. This class is a decorator for the CAD graph.
Constructor Summary | |
---|---|
BCADGraphCell(BCADGraph g,
CADShape s,
CADShapeEnum t)
Constructor. |
Method Summary | |
---|---|
void |
addImplicitConstraints(CADShapeEnum cse,
boolean recursive)
|
void |
addParent(BCADGraphCell that)
|
void |
addSubMeshConstraint(BSubMesh sub,
Constraint cons)
|
java.util.Iterator<BCADGraphCell> |
allShapesExplorer(CADShapeEnum cse)
Returns an iterator on all geometrical elements of a given type. |
java.util.Iterator<BCADGraphCell> |
allShapesIterator()
Returns an iterator on all immediate sub-shapes. |
void |
bindReversed(BCADGraphCell that)
Binds two cells containing reversed shapes together. |
java.util.Iterator<BDiscretization> |
discretizationIterator()
Returns an iterator on BDiscretization instances bound to this cell. |
BDiscretization |
getDiscretizationSubMesh(BSubMesh sub)
Returns the BDiscretization instance corresponding to a given submesh. |
BCADGraph |
getGraph()
Returns CAD graph. |
int |
getId()
Returns cell id. |
int |
getOrientation()
Returns shape orientation. |
java.util.Collection<BCADGraphCell> |
getParents()
|
BCADGraphCell |
getReversed()
Returns cell containing reversed shape. |
CADShape |
getShape()
Returns CAD shape. |
CADShapeEnum |
getType()
Returns CAD shape type. |
void |
setId(int i)
Sets cell id. |
java.util.Iterator<BCADGraphCell> |
shapesExplorer(CADShapeEnum cse)
Returns an iterator on geometrical elements of a given type. |
java.util.Iterator<BCADGraphCell> |
shapesIterator()
Returns an iterator on immediate sub-shapes. |
java.lang.String |
toString()
|
java.util.Iterator<BCADGraphCell> |
uniqueShapesExplorer(CADShapeEnum cse)
Returns an iterator on unique geometrical elements. |
java.util.Iterator<BCADGraphCell> |
uniqueShapesIterator()
Returns an iterator on immediate sub-shapes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BCADGraphCell(BCADGraph g, CADShape s, CADShapeEnum t)
g
- graph cells
- CAD shape contained in this cellt
- CAD shape typeMethod Detail |
---|
public int getId()
public void setId(int i)
i
- cell idpublic BCADGraph getGraph()
public CADShape getShape()
public int getOrientation()
public BCADGraphCell getReversed()
public CADShapeEnum getType()
public java.util.Collection<BCADGraphCell> getParents()
public void addParent(BCADGraphCell that)
public void bindReversed(BCADGraphCell that)
public java.util.Iterator<BCADGraphCell> shapesExplorer(CADShapeEnum cse)
cse
- CAD shape type
public java.util.Iterator<BCADGraphCell> uniqueShapesExplorer(CADShapeEnum cse)
cse
- CAD shape type
public java.util.Iterator<BCADGraphCell> allShapesExplorer(CADShapeEnum cse)
cse
- CAD shape type
public java.util.Iterator<BCADGraphCell> shapesIterator()
public java.util.Iterator<BCADGraphCell> uniqueShapesIterator()
public java.util.Iterator<BCADGraphCell> allShapesIterator()
public BDiscretization getDiscretizationSubMesh(BSubMesh sub)
sub
- submesh
public void addSubMeshConstraint(BSubMesh sub, Constraint cons)
public java.util.Iterator<BDiscretization> discretizationIterator()
public void addImplicitConstraints(CADShapeEnum cse, boolean recursive)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |