| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jcae.mesh.bora.ds.Hypothesis
public class Hypothesis
| Nested Class Summary | |
|---|---|
| static class | Hypothesis.HypE2 | 
| static interface | Hypothesis.HypInterface | 
| static class | Hypothesis.HypNone | 
| static class | Hypothesis.HypQ4 | 
| static class | Hypothesis.HypT3 | 
| static class | Hypothesis.HypT4 | 
| static class | Hypothesis.HypV1 | 
| Field Summary | |
|---|---|
| protected  double | deflection | 
| protected  Hypothesis.HypInterface | hyp | 
| protected  double | length | 
| protected  boolean | lengthBool | 
| protected  double | lengthMax | 
| protected  double | lengthMin | 
| protected  boolean | numberBool | 
| protected  int | numberMax | 
| protected  int | numberMin | 
| Constructor Summary | |
|---|---|
| Hypothesis() | |
| Hypothesis(int i) | |
| Method Summary | |
|---|---|
|  boolean | checkCompatibility(CADShapeEnum cse)Checks compatibility with geometrical objects. | 
|  boolean | combine(Hypothesis that)Combines with another hypothesis. | 
|  Hypothesis | createInheritedHypothesis(CADShapeEnum cse) | 
|  AlgoInterface | findAlgorithm(CADShapeEnum cse) | 
|  double | getDeflection() | 
|  java.lang.String | getElement()Gets element type. | 
|  int | getId() | 
|  double | getLength() | 
|  void | lock()Locks the hypothesis so that it cannot be modified. | 
|  void | setDeflection(double d)Sets deflection. | 
|  void | setElement(java.lang.String e)Sets element type. | 
|  void | setLength(double l)Sets target length. | 
|  void | setLength(double l,
          boolean b)Sets target length. | 
|  void | setLength(double l1,
          double l2)Sets length interval. | 
|  void | setLength(double l1,
          double l2,
          boolean b)Sets length interval. | 
|  void | setNumber(int n)Sets number of segments. | 
|  void | setNumber(int n,
          boolean b)Sets number of segments. | 
|  void | setNumber(int n1,
          int n2)Sets number of segments. | 
|  void | setNumber(int n1,
          int n2,
          boolean b)Sets number of segments. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected Hypothesis.HypInterface hyp
protected double length
protected double lengthMin
protected double lengthMax
protected double deflection
protected boolean lengthBool
protected boolean numberBool
protected int numberMin
protected int numberMax
| Constructor Detail | 
|---|
public Hypothesis()
public Hypothesis(int i)
| Method Detail | 
|---|
public int getId()
public void setElement(java.lang.String e)
e - element typepublic java.lang.String getElement()
public boolean checkCompatibility(CADShapeEnum cse)
cse - geometrical object type
true if this hypothesis can be appplied on
 geometrical objects of a given type, and false
 otherwise.public void setLength(double l)
l - length
public void setLength(double l,
                      boolean b)
l - lengthb - hard constraintpublic double getLength()
public double getDeflection()
public void setLength(double l1,
                      double l2)
l1 - length minl2 - length max
public void setLength(double l1,
                      double l2,
                      boolean b)
l1 - length minl2 - length maxb - hard constraintpublic void setDeflection(double d)
d - deflectionpublic void setNumber(int n)
n - number of segments.
public void setNumber(int n,
                      boolean b)
n - number of segments.b - hard constraint
public void setNumber(int n1,
                      int n2)
n1 - minimal number of segmentsn2 - maximal number of segments
public void setNumber(int n1,
                      int n2,
                      boolean b)
n1 - minimal number of segmentsn2 - maximal number of segmentsb - hard constraintpublic void lock()
public boolean combine(Hypothesis that)
true if hypothesis have been successfully combined, false otherwise.public java.lang.String toString()
toString in class java.lang.Objectpublic Hypothesis createInheritedHypothesis(CADShapeEnum cse)
public AlgoInterface findAlgorithm(CADShapeEnum cse)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||