public class TrajectoryObjects
extends java.lang.Object
| Constructor and Description |
|---|
TrajectoryObjects()
The ArrayList and RenderableLayer objects are constructed.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getGEOCoord()
The purpose is obtain the current coordinates of the trajectory object.
|
void |
loadWorldWindModel(gov.nasa.worldwind.awt.WorldWindowGLCanvas wwd)
The purpose is to access the Earth model, then to load the trajectory
object into a renderable layer and load that into the Earth model.
|
boolean |
propagateTrajectory()
The purpose is to propagate the trajectory through one time step.
|
void |
setGeoInit(double lat,
double lon,
double alt)
The purpose is to set the initial conditions (starting location) of
the trajectory object.
|
void |
setPathObject(java.awt.Color color,
double lineWidth)
The purpose is to use the Path class to build the trajectory curve / line
generator - and set its properties.
|
void |
setPolylineObject(java.awt.Color color,
double lineWidth)
The purpose is to use the Polyline class to build the trajectory
curve / line generator - and set its properties.
|
void |
setTrajResolution(double resDial)
The purpose to set the trajectory step resolution.
|
void |
setTrajTypeOne()
The purpose to set a 1st trajectory type with specific characteristics -
for demo purposes.
|
void |
setTrajTypeTwo()
The purpose to set a 2nd trajectory type with specific characteristics -
for demo purposes.
|
public TrajectoryObjects()
public boolean propagateTrajectory()
public double[] getGEOCoord()
public void setTrajResolution(double resDial)
resDial - The trajectory resolution value.public void setTrajTypeOne()
public void setTrajTypeTwo()
public void setPathObject(java.awt.Color color,
double lineWidth)
color - The color of the trajectory curve / line.lineWidth - The width of the trajectory curve / line.public void setPolylineObject(java.awt.Color color,
double lineWidth)
color - The color of the trajectory curve / line.lineWidth - The width of the trajectory curve / line.public void setGeoInit(double lat,
double lon,
double alt)
lat - The initial latitude coordinate.lon - The initial longitude coordinate.alt - The initial altitude coordinate.public void loadWorldWindModel(gov.nasa.worldwind.awt.WorldWindowGLCanvas wwd)
wwd - The World Wind Earth model.