Package gprover
Class AngSt
- java.lang.Object
-
- gprover.CClass
-
- gprover.AngSt
-
public class AngSt extends CClass
The AngSt class represents a geometric configuration of angles. It extends the CClass and includes properties for lines, dependencies, and other attributes related to angles.
-
-
Field Summary
Fields Modifier and Type Field Description LLine[]ln1The first set of lines that define the angles.LLine[]ln2The second set of lines that define the angles.intnoThe number of angles.AngStnxThe next AngSt object in a linked list structure.java.lang.StringsdA string representation of the angles.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddAngle(Angles as)Adds an angle to the angles.booleancontain(LLine l1, LLine l2)Checks if the specified lines are contained in the angles.intget_dr(LLine l1, LLine l2)Gets the direction of the specified lines.java.lang.StringtoString()Returns a string representation of the angles.
-
-
-
Field Detail
-
no
public int no
The number of angles.
-
ln1
public LLine[] ln1
The first set of lines that define the angles.
-
ln2
public LLine[] ln2
The second set of lines that define the angles.
-
sd
public java.lang.String sd
A string representation of the angles.
-
nx
public AngSt nx
The next AngSt object in a linked list structure.
-
-
Method Detail
-
contain
public boolean contain(LLine l1, LLine l2)
Checks if the specified lines are contained in the angles.- Parameters:
l1- the first linel2- the second line- Returns:
- true if the lines are contained in the angles, false otherwise
-
get_dr
public int get_dr(LLine l1, LLine l2)
Gets the direction of the specified lines.- Parameters:
l1- the first linel2- the second line- Returns:
- 1 if the lines are in the same direction, -1 if they are in opposite directions, 0 otherwise
-
addAngle
public boolean addAngle(Angles as)
Adds an angle to the angles.- Parameters:
as- the Angles object to add- Returns:
- true if the angle was added, false otherwise
-
-