@Beta public class Elias extends Object implements Serializable
Constructor and Description |
---|
Elias() |
Modifier and Type | Method and Description |
---|---|
List<Coord> |
getLastPath() |
float[][] |
lightMap(double startx,
double starty,
double endx,
double endy) |
List<Coord> |
line(Coord start,
Coord end) |
List<Coord> |
line(Coord start,
Coord end,
double brightnessThreshold) |
List<Coord> |
line(double startx,
double starty,
double endx,
double endy)
Gets the line between the two points.
|
List<Coord> |
line(double startx,
double starty,
double endx,
double endy,
double brightnessThreshold)
Gets the line between the two points.
|
public Elias()
public float[][] lightMap(double startx, double starty, double endx, double endy)
public List<Coord> line(double startx, double starty, double endx, double endy)
startx
- starty
- endx
- endy
- public List<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 List<Coord> getLastPath()
Copyright © 2012–2016. All rights reserved.