org.jcae.mesh.bora.ds
Class Constraint

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

public class Constraint
extends java.lang.Object


Constructor Summary
Constraint(BCADGraphCell g, Hypothesis h)
           
 
Method Summary
 void addSubMesh(BSubMesh s)
           
 Constraint createInheritedConstraint(BCADGraphCell g, Constraint old)
           
 BCADGraphCell getGraphCell()
           
 Hypothesis getHypothesis()
           
 int getId()
           
 Constraint getOrigin()
           
 Constraint originConstraint(BCADGraphCell g)
          Returns parent constraint.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Constraint

public Constraint(BCADGraphCell g,
                  Hypothesis h)
Method Detail

originConstraint

public Constraint originConstraint(BCADGraphCell g)
Returns parent constraint. Returns null if the constraint is not considered a resultant constraint of a user constraint on g, or the resultant of the user constraint on g


createInheritedConstraint

public Constraint createInheritedConstraint(BCADGraphCell g,
                                            Constraint old)

getId

public int getId()

getGraphCell

public BCADGraphCell getGraphCell()

getHypothesis

public Hypothesis getHypothesis()

getOrigin

public Constraint getOrigin()

addSubMesh

public void addSubMesh(BSubMesh s)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object