public class RadarObjects
extends java.lang.Object
| Constructor and Description |
|---|
RadarObjects()
The Polyline object is constructed and its properties are set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activateRadarTracking()
The purpose is to show the radar line from the base station to the
target.
|
void |
loadTrajectoryObject(TrajectoryObjects to)
The purpose is to load the trajectory object which the radar object
will track.
|
void |
loadWorldWindModel(gov.nasa.worldwind.awt.WorldWindowGLCanvas wwd)
The purpose is to: 1) access the Earth model, 2) add the Polyline object
to the renderable layer and then add that to the Earth model,
and 3) build the vector from the center of the Earth to the radar base
station (using the Vec4 class).
|
void |
setBaseCoord(double lat,
double lon,
double alt)
The purpose is to set the radar object base coordinates.
|
public RadarObjects()
public void activateRadarTracking()
public void setBaseCoord(double lat,
double lon,
double alt)
lat - The latitude coordinate of the radar object location.lon - The longitude coordinate of the radar object location.alt - The altitude coordinate of the radar object location.public void loadWorldWindModel(gov.nasa.worldwind.awt.WorldWindowGLCanvas wwd)
wwd - The World Wind Earth model.public void loadTrajectoryObject(TrajectoryObjects to)
to - The trajectory object to be tracked.