NASA World Wind

gov.nasa.worldwind.view
Interface OrbitViewLimits

All Known Implementing Classes:
BasicOrbitViewLimits

public interface OrbitViewLimits

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.
 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.
 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.
 

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.

getHeadingLimits

Angle[] getHeadingLimits()
Returns the minimum and maximum Angles for the OrbitView heading property.

Returns:
minimum and maximum allowable Angles for heading.

getPitchLimits

Angle[] getPitchLimits()
Returns the minimum and maximum Angles for the OrbitView pitch property.

Returns:
minimum and maximum allowable Angles for pitch.

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.

setHeadingLimits

void setHeadingLimits(Angle minAngle,
                      Angle maxAngle)
Sets the minimum and maximum Angles which will limit the OrbitView heading property.

Parameters:
minAngle - the minimum allowable angle for heading.
maxAngle - the maximum allowable angle for heading.
Throws:
IllegalArgumentException - if eiter minAngle or maxAngle is null.

setPitchLimits

void setPitchLimits(Angle minAngle,
                    Angle maxAngle)
Sets the minimum and maximum Angles which will limit the OrbitView pitch property.

Parameters:
minAngle - the minimum allowable angle for pitch.
maxAngle - the maximum allowable angle for pitch.
Throws:
IllegalArgumentException - if eiter minAngle or maxAngle 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