-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEx4_Const.java
More file actions
19 lines (18 loc) · 730 Bytes
/
Copy pathEx4_Const.java
File metadata and controls
19 lines (18 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package Exe.Ex4;
/**
* This class represents a set of parameters for Ex4 GUI Shape application for:
* Introduction to Computer Science 2022, Ariel University.
* Do NOT change this class
* @author boaz.benmoshe
*/
public class Ex4_Const {
public static final double EPS1 = 0.001, EPS2=Math.pow(EPS1, 2), EPS = EPS2;
// Constant flags for sorting.
private static int count = 0;
public static final int Sort_By_Tag = count++, Sort_By_Anti_Tag=count++,
Sort_By_Area =count++, Sort_By_Anti_Area = count++,
Sort_By_Perimeter =count++, Sort_By_Anti_Perimeter = count++,
Sort_By_toString = count++, Sort_By_Anti_toString = count++;
public static int Width = 640, Height = 640;
public static int DIM_SIZE = 10;
}