|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.view.geoloc.ViewpointInfo
public class ViewpointInfo
A class to transfer angle of view settings from the dialog box ViewpointDialog class. Azimuth is angle of line of view, from north, clockwise, 0 to 360 degrees. Tilt is angle down from overhead, 0 to 180 degrees; looking straight down is 0, sideways is 90, straight up is 180. Member data .azimuth and .tilt is public for ease of access.
| Field Summary | |
|---|---|
double |
azimuth
Azimuth value |
double |
tilt
Tilt value |
| Constructor Summary | |
|---|---|
ViewpointInfo()
Default constructor |
|
ViewpointInfo(double azimuth,
double tilt)
Construct class to hold angle of view settings from the dialog box ViewpointDialog class. |
|
| Method Summary | |
|---|---|
double |
getAzimuth()
Get the Azimuth property. |
double |
getTilt()
Get the Tilt property. |
void |
setAzimuth(double value)
Set the Azimuth property. |
void |
setTilt(double value)
Set the Tilt property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double azimuth
public double tilt
| Constructor Detail |
|---|
public ViewpointInfo()
public ViewpointInfo(double azimuth,
double tilt)
azimuth - angle of line of view, from north, clockwise,
0 to 360 degrees.tilt - angle down from overhead, 0 to 180 degrees; looking
straight down is 0, sideways is 90, straight up is 180.| Method Detail |
|---|
public void setAzimuth(double value)
value - The new value for Azimuthpublic double getAzimuth()
public void setTilt(double value)
value - The new value for Tiltpublic double getTilt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||