public class Gridder<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Gridder.Cell |
(package private) class |
Gridder.MyIterator |
Modifier and Type | Field and Description |
---|---|
(package private) Gridder.Cell[][] |
cells |
(package private) int |
height |
(package private) double |
metersPerCell |
(package private) int |
width |
(package private) double |
x0 |
(package private) double |
x1 |
(package private) double |
y0 |
(package private) double |
y1 |
Constructor and Description |
---|
Gridder(double x0,
double y0,
double x1,
double y1,
double metersPerCell) |
Modifier and Type | Method and Description |
---|---|
void |
add(double x,
double y,
T o) |
java.lang.Iterable<T> |
find(double x,
double y,
double range) |
static void |
main(java.lang.String[] args) |
void |
remove(double x,
double y,
T o) |
Gridder.Cell[][] cells
double x0
double y0
double x1
double y1
int width
int height
double metersPerCell