public class Elias
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Elias() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Coord> |
getLastPath() |
double[][] |
lightMap(double startx,
double starty,
double endx,
double endy) |
java.util.ArrayList<Coord> |
line(Coord start,
Coord end) |
java.util.ArrayList<Coord> |
line(Coord start,
Coord end,
double brightnessThreshold) |
java.util.ArrayList<Coord> |
line(double startx,
double starty,
double endx,
double endy)
Gets the line between the two points.
|
java.util.ArrayList<Coord> |
line(double startx,
double starty,
double endx,
double endy,
double brightnessThreshold)
Gets the line between the two points.
|
public double[][] lightMap(double startx, double starty, double endx, double endy)
public java.util.ArrayList<Coord> line(double startx, double starty, double endx, double endy)
startx
- starty
- endx
- endy
- public java.util.ArrayList<Coord> line(double startx, double starty, double endx, double endy, double brightnessThreshold)
startx
- starty
- endx
- endy
- brightnessThreshold
- between 0.0 (default) and 1.0; only Points with higher brightness will be includedpublic java.util.ArrayList<Coord> getLastPath()
Copyright © Eben Howard 2012–2022. All rights reserved.