org.jcae.mesh.bora.ds
Class BModel

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

public class BModel
extends java.lang.Object

CAD object.


Constructor Summary
BModel(java.lang.String brep, java.lang.String out)
          Bind a CAD representation to a disk directory.
 
Method Summary
 void addConstraint(Constraint cons)
           
 void compute()
          Combines all hypothesis and computes meshes.
 void computeConstraints()
          Combines all hypothesis.
 java.lang.String getCADFile()
           
 CADShape getCADShape()
           
 java.util.Collection<Constraint> getConstraints()
           
 BCADGraph getGraph()
           
 int getId()
           
 java.lang.String getOutputDir()
           
 java.lang.String getOutputDir(BDiscretization d)
           
 java.lang.String getOutputFile()
           
 java.lang.String getRelativeCADDir()
           
 java.util.Iterator<BSubMesh> getSubMeshIterator()
           
static void main(java.lang.String[] args)
           
 BSubMesh newMesh()
           
 void printAllHypothesis()
          Prints all hypothesis applied to any submesh.
 void printConstraints()
          Prints the constraints applied to geometrical elements of the current mesh.
 void printConstraints(BSubMesh sm)
          Prints the constraints applied to a given submesh.
 void printDiscretizations()
          Print all discretizations.
 void printShapes()
          Prints the list of geometrical elements.
 void printSubmeshesConstraints()
          Prints user defined constraints on the submeshes.
 void printSubmeshesDiscretizations()
          Prints used discretizations on the submeshes.
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BModel

public BModel(java.lang.String brep,
              java.lang.String out)
Bind a CAD representation to a disk directory.

Method Detail

reset

public static void reset()

getId

public int getId()

getCADFile

public java.lang.String getCADFile()

getRelativeCADDir

public java.lang.String getRelativeCADDir()

getCADShape

public CADShape getCADShape()

getOutputDir

public java.lang.String getOutputDir()

getOutputDir

public java.lang.String getOutputDir(BDiscretization d)

getOutputFile

public java.lang.String getOutputFile()

getGraph

public BCADGraph getGraph()

getConstraints

public java.util.Collection<Constraint> getConstraints()

newMesh

public BSubMesh newMesh()

getSubMeshIterator

public java.util.Iterator<BSubMesh> getSubMeshIterator()

printShapes

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


addConstraint

public void addConstraint(Constraint cons)

computeConstraints

public void computeConstraints()
Combines all hypothesis.


compute

public void compute()
Combines all hypothesis and computes meshes.


printAllHypothesis

public void printAllHypothesis()
Prints all hypothesis applied to any submesh.


printSubmeshesConstraints

public void printSubmeshesConstraints()
Prints user defined constraints on the submeshes.


printSubmeshesDiscretizations

public void printSubmeshesDiscretizations()
Prints used discretizations on the submeshes.


printDiscretizations

public void printDiscretizations()
Print all discretizations.


printConstraints

public void printConstraints()
Prints the constraints applied to geometrical elements of the current mesh.


printConstraints

public void printConstraints(BSubMesh sm)
Prints the constraints applied to a given submesh.


main

public static void main(java.lang.String[] args)