|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.view.BasicOrbitViewLimits
public class BasicOrbitViewLimits
| Field Summary | |
|---|---|
protected Sector |
centerLocationLimits
|
protected double |
maxCenterElevation
|
protected Angle |
maxHeading
|
protected Angle |
maxPitch
|
protected double |
maxZoom
|
protected double |
minCenterElevation
|
protected Angle |
minHeading
|
protected Angle |
minPitch
|
protected double |
minZoom
|
| Constructor Summary | |
|---|---|
BasicOrbitViewLimits()
|
|
| Method Summary | |
|---|---|
static void |
applyLimits(OrbitView view,
OrbitViewLimits viewLimits)
|
double[] |
getCenterElevationLimits()
Returns the minimum and maximum values for the OrbitView center elevation. |
Sector |
getCenterLocationLimits()
Returns the Sector which limits the OrbitView center latitude and longitude. |
Angle[] |
getHeadingLimits()
Returns the minimum and maximum Angles for the OrbitView heading property. |
Angle[] |
getPitchLimits()
Returns the minimum and maximum Angles for the OrbitView pitch property. |
double[] |
getZoomLimits()
Returns the minimum and maximum values for the OrbitView zoom property. |
static double |
limitCenterElevation(double value,
OrbitViewLimits viewLimits)
|
static LatLon |
limitCenterLocation(Angle latitude,
Angle longitude,
OrbitViewLimits viewLimits)
|
static Position |
limitCenterPosition(Position position,
OrbitViewLimits viewLimits)
|
static Angle |
limitHeading(Angle angle,
OrbitViewLimits viewLimits)
|
static Angle |
limitPitch(Angle angle,
OrbitViewLimits viewLimits)
|
static double |
limitZoom(double value,
OrbitViewLimits viewLimits)
|
void |
setCenterElevationLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the OrbitView center elevation. |
void |
setCenterLocationLimits(Sector sector)
Sets the Sector which will limit the OrbitView center latitude and longitude. |
void |
setHeadingLimits(Angle minAngle,
Angle maxAngle)
Sets the minimum and maximum Angles which will limit the OrbitView heading property. |
void |
setPitchLimits(Angle minAngle,
Angle maxAngle)
Sets the minimum and maximum Angles which will limit the OrbitView pitch property. |
void |
setZoomLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the OrbitView zoom property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Sector centerLocationLimits
protected double maxCenterElevation
protected Angle maxHeading
protected Angle maxPitch
protected double maxZoom
protected double minCenterElevation
protected Angle minHeading
protected Angle minPitch
protected double minZoom
| Constructor Detail |
|---|
public BasicOrbitViewLimits()
| Method Detail |
|---|
public static void applyLimits(OrbitView view,
OrbitViewLimits viewLimits)
public double[] getCenterElevationLimits()
OrbitViewLimitsOrbitView center elevation.
getCenterElevationLimits in interface OrbitViewLimitspublic Sector getCenterLocationLimits()
OrbitViewLimitsSector which limits the OrbitView center latitude and longitude.
getCenterLocationLimits in interface OrbitViewLimitsSector which limits the center latitude and longitude.public Angle[] getHeadingLimits()
OrbitViewLimitsAngles for the OrbitView heading property.
getHeadingLimits in interface OrbitViewLimitsAngles for heading.public Angle[] getPitchLimits()
OrbitViewLimitsAngles for the OrbitView pitch property.
getPitchLimits in interface OrbitViewLimitsAngles for pitch.public double[] getZoomLimits()
OrbitViewLimitsOrbitView zoom property.
getZoomLimits in interface OrbitViewLimits
public static double limitCenterElevation(double value,
OrbitViewLimits viewLimits)
public static LatLon limitCenterLocation(Angle latitude,
Angle longitude,
OrbitViewLimits viewLimits)
public static Position limitCenterPosition(Position position,
OrbitViewLimits viewLimits)
public static Angle limitHeading(Angle angle,
OrbitViewLimits viewLimits)
public static Angle limitPitch(Angle angle,
OrbitViewLimits viewLimits)
public static double limitZoom(double value,
OrbitViewLimits viewLimits)
public void setCenterElevationLimits(double minValue,
double maxValue)
OrbitViewLimitsOrbitView center elevation.
setCenterElevationLimits in interface OrbitViewLimitsminValue - the minimum allowable value for center elevation.maxValue - the maximum allowable value for center elevation.public void setCenterLocationLimits(Sector sector)
OrbitViewLimitsSector which will limit the OrbitView center latitude and longitude.
setCenterLocationLimits in interface OrbitViewLimitssector - Sector which will limit the center latitude and longitude.
public void setHeadingLimits(Angle minAngle,
Angle maxAngle)
OrbitViewLimitsAngles which will limit the OrbitView heading property.
setHeadingLimits in interface OrbitViewLimitsminAngle - the minimum allowable angle for heading.maxAngle - the maximum allowable angle for heading.
public void setPitchLimits(Angle minAngle,
Angle maxAngle)
OrbitViewLimitsAngles which will limit the OrbitView pitch property.
setPitchLimits in interface OrbitViewLimitsminAngle - the minimum allowable angle for pitch.maxAngle - the maximum allowable angle for pitch.
public void setZoomLimits(double minValue,
double maxValue)
OrbitViewLimitsOrbitView zoom property.
setZoomLimits in interface OrbitViewLimitsminValue - the mimimum allowable value for zoom.maxValue - the maximum allowable value for zoom.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||