public class AlgorithmList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BEZIER_2 |
Canvas2D |
canvas |
static int |
CONVEX_HULL_2 |
ConvexHull_2 |
convexHull_2 |
static int |
DELAUNAY_2 |
static int |
NO_SELECTED_ALGORITHM |
static int |
POINT_LOCATION_POLYHEDRON |
int |
selectedAlgorithm |
Constructor and Description |
---|
AlgorithmList(Canvas2D canvas)
Initialization and choice of algorithm implementations
|
Modifier and Type | Method and Description |
---|---|
void |
executeAlgorithm()
Perform the execution of the selected algorithm
|
void |
selectAlgorithm(int selection)
Select the algorithm to execute
|
public static final int NO_SELECTED_ALGORITHM
public static final int CONVEX_HULL_2
public static final int DELAUNAY_2
public static final int POINT_LOCATION_POLYHEDRON
public static final int BEZIER_2
public int selectedAlgorithm
public Canvas2D canvas
public ConvexHull_2 convexHull_2
public AlgorithmList(Canvas2D canvas)