public abstract class IsochroneGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static double |
GRID_SIZE_METERS |
static double |
WALK_DISTANCE_GRID_SIZE_RATIO |
Constructor and Description |
---|
IsochroneGenerator() |
Modifier and Type | Method and Description |
---|---|
static List<IsochroneData> |
getIsochronesAccumulative(ZSampleGrid<SampleGridRenderer.WTWD> grid,
int spacingMinutes,
int cutoffMinutes,
int nMax)
Make isochrones from a grid.
|
static ZSampleGrid |
makeGrid(PointSet pointSet,
int[] times,
double walkSpeed)
Make a ZSampleGrid from a PointSet and a parallel array of travel times for that PointSet.
|
public static final double GRID_SIZE_METERS
public static final double WALK_DISTANCE_GRID_SIZE_RATIO
public static ZSampleGrid makeGrid(PointSet pointSet, int[] times, double walkSpeed)
walkSpeed
- the walk speed in meters per secondpublic static List<IsochroneData> getIsochronesAccumulative(ZSampleGrid<SampleGridRenderer.WTWD> grid, int spacingMinutes, int cutoffMinutes, int nMax)
spacingMinutes
- the number of minutes between isochronesCopyright © 2018. All rights reserved.