public class LinesOfSight extends ApplicationTemplate
Terrain
object in order
to determine accurate intersections relative to the highest-resolution elevation data associated with a specified
globe.
This class uses a TerrainLineIntersector
and a ShapeLineIntersector
to compute the intersections.
Usage: Modifier and Type | Class and Description |
---|---|
static class |
LinesOfSight.AppFrame |
static class |
LinesOfSight.ShapeLoaderThread |
ApplicationTemplate.AppPanel
Modifier and Type | Field and Description |
---|---|
protected static long |
CACHE_SIZE
The size of the Terrain's cache.
|
protected static int |
GRID_DIMENSION
The number of cells along each edge of the grid.
|
protected static int |
GRID_POSITION_HEIGHT |
protected static Angle |
GRID_RADIUS
The width and height in degrees of the grid used to calculate intersections.
|
protected static int |
NUM_SHAPE_THREADS |
protected static int |
NUM_TERRAIN_THREADS |
protected static int |
REFERENCE_POSITION_HEIGHT |
protected static boolean |
SHOW_ONLY_FIRST_INTERSECTIONS |
protected static Double |
TARGET_RESOLUTION
The desired terrain resolution to use in the intersection calculations.
|
Constructor and Description |
---|
LinesOfSight() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
insertAfterPlacenames, insertBeforeCompass, insertBeforeLayerName, insertBeforePlacenames, start
protected static final long CACHE_SIZE
protected static final int GRID_DIMENSION
protected static final int GRID_POSITION_HEIGHT
protected static final Angle GRID_RADIUS
protected static final int NUM_SHAPE_THREADS
protected static final int NUM_TERRAIN_THREADS
protected static final int REFERENCE_POSITION_HEIGHT
protected static final boolean SHOW_ONLY_FIRST_INTERSECTIONS
protected static final Double TARGET_RESOLUTION
public static void main(String[] args)