public class CensusGroup
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
float |
latitude
Latitude of the census group, projected onto our map using the Mercator
Projection.
|
float |
longitude
Longitude of the census group.
|
int |
population
Population of the census group.
|
float |
realLatitude
Latitude of the census group as listed in the file.
|
| Constructor and Description |
|---|
CensusGroup(int pop,
float lat,
float lon)
Create a new CensusGroup.
|
| Modifier and Type | Method and Description |
|---|---|
private static float |
mercatorConversion(float lat)
Project the latitude onto a rectangular map using the Mercator
Projection.
|
public final int population
public final float realLatitude
public final float latitude
public final float longitude