NASA World Wind

gov.nasa.worldwind.view.orbit
Interface OrbitViewLimits

All Superinterfaces:
ViewPropertyLimits
All Known Implementing Classes:
BasicOrbitViewLimits

public interface OrbitViewLimits
extends ViewPropertyLimits

OrbitViewLimits defines a restriction on the standard viewing parameters of an OrbitView.


Method Summary
 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.
 double[] getZoomLimits()
          Returns the minimum and maximum values for the OrbitView zoom property.
 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 setZoomLimits(double minValue, double maxValue)
          Sets the minimum and maximum values which will limit the OrbitView zoom property.
 
Methods inherited from interface gov.nasa.worldwind.view.ViewPropertyLimits
getEyeElevationLimits, getEyeLocationLimits, getHeadingLimits, getPitchLimits, getRestorableState, getRollLimits, restoreState, setEyeElevationLimits, setEyeLocationLimits, setHeadingLimits, setPitchLimits, setRollLimits
 

Method Detail

getCenterElevationLimits

double[] getCenterElevationLimits()
Returns the minimum and maximum values for the OrbitView center elevation.

Returns:
minimum and maximum allowable values for center elevation.

getCenterLocationLimits

Sector getCenterLocationLimits()
Returns the Sector which limits the OrbitView center latitude and longitude.

Returns:
Sector which limits the center latitude and longitude.

getZoomLimits

double[] getZoomLimits()
Returns the minimum and maximum values for the OrbitView zoom property.

Returns:
minimum and maximum allowable values for zoom.

setCenterElevationLimits

void setCenterElevationLimits(double minValue,
                              double maxValue)
Sets the minimum and maximum values which will limit the OrbitView center elevation.

Parameters:
minValue - the minimum allowable value for center elevation.
maxValue - the maximum allowable value for center elevation.

setCenterLocationLimits

void setCenterLocationLimits(Sector sector)
Sets the Sector which will limit the OrbitView center latitude and longitude.

Parameters:
sector - Sector which will limit the center latitude and longitude.
Throws:
IllegalArgumentException - if sector is null.

setZoomLimits

void setZoomLimits(double minValue,
                   double maxValue)
Sets the minimum and maximum values which will limit the OrbitView zoom property.

Parameters:
minValue - the mimimum allowable value for zoom.
maxValue - the maximum allowable value for zoom.

NASA World Wind