Package gprover
Class Rule
- java.lang.Object
-
- gprover.CClass
-
- gprover.Rule
-
public class Rule extends CClass
Represents a rule in a geometric construction.
-
-
Field Summary
Fields Modifier and Type Field Description static intEQ_ANGLEConstant for equal angle type.static intEX_ANGLEConstant for external angle type.MndemrThe main Mnde object associated with the rule.Mnde[]mr1Array of Mnde objects associated with the rule.static intP_ANGLEConstant for P angle type.static intSPLIT_ANGLEConstant for split angle type.static intT_ANGLEConstant for T angle type.
-
Constructor Summary
Constructors Constructor Description Rule(int t)Constructs a Rule object with a specified type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcp_rule(Rule r)Copies the properties of another Rule object to this Rule object.java.lang.StringtoString()Returns a string representation of the rule.
-
-
-
Field Detail
-
SPLIT_ANGLE
public static final int SPLIT_ANGLE
Constant for split angle type.- See Also:
- Constant Field Values
-
P_ANGLE
public static final int P_ANGLE
Constant for P angle type.- See Also:
- Constant Field Values
-
T_ANGLE
public static final int T_ANGLE
Constant for T angle type.- See Also:
- Constant Field Values
-
EX_ANGLE
public static final int EX_ANGLE
Constant for external angle type.- See Also:
- Constant Field Values
-
EQ_ANGLE
public static final int EQ_ANGLE
Constant for equal angle type.- See Also:
- Constant Field Values
-
mr1
public Mnde[] mr1
Array of Mnde objects associated with the rule.
-
mr
public Mnde mr
The main Mnde object associated with the rule.
-
-
Method Detail
-
cp_rule
public void cp_rule(Rule r)
Copies the properties of another Rule object to this Rule object.- Parameters:
r- the Rule object to copy from
-
-