Package gprover
Class Var
- java.lang.Object
-
- gprover.Var
-
public class Var extends java.lang.ObjectThe Var class represents a variable in a geometric context. It includes properties for the variable's name, points, and a string representation.
-
-
Field Summary
Fields Modifier and Type Field Description int[]pt
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetString(java.lang.String s)Constructs a TLine object with default values.java.lang.StringtoString()Returns the string representation of the variable.
-
-
-
Constructor Detail
-
Var
public Var()
Constructs a Var object with default values.
-
Var
public Var(int n, int p1, int p2, int p3, int p4)Constructs a Var object with specified values.- Parameters:
n- the name of the variablep1- the first pointp2- the second pointp3- the third pointp4- the fourth point
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns the string representation of the variable.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation of the variable
-
setString
public void setString(java.lang.String s)
Constructs a TLine object with default values.
-
-