public interface ViewPropertyLimits
View.| Modifier and Type | Method and Description | 
|---|---|
double[] | 
getEyeElevationLimits()
Returns the minimum and maximum values for a view's eye elevation. 
 | 
Sector | 
getEyeLocationLimits()
Returns the Sector which limits a view's eye latitude and longitude. 
 | 
Angle[] | 
getHeadingLimits()
Returns the minimum and maximum angles for a view's heading property. 
 | 
Angle[] | 
getPitchLimits()
Returns the minimum and maximum angles for a view's pitch property. 
 | 
void | 
getRestorableState(RestorableSupport rs,
                  RestorableSupport.StateObject context)  | 
Angle[] | 
getRollLimits()
Returns the minimum and maximum angles for a view's roll property. 
 | 
Position | 
limitEyePosition(View view,
                Position position)
Returns a position clamped to the eye location limits and the eye elevation limits specified by this limit
 object. 
 | 
Angle | 
limitHeading(View view,
            Angle angle)
Returns an angle clamped to the heading limits specified by this limit object. 
 | 
Angle | 
limitPitch(View view,
          Angle angle)
Returns an angle clamped to the pitch limits specified by this limit object. 
 | 
Angle | 
limitRoll(View view,
         Angle angle)
Returns an angle clamped to the roll limits specified by this limit object. 
 | 
void | 
reset()
Resets all property limits to their default values. 
 | 
void | 
restoreState(RestorableSupport rs,
            RestorableSupport.StateObject context)  | 
void | 
setEyeElevationLimits(double minValue,
                     double maxValue)
Sets the minimum and maximum values for a view's eye elevation. 
 | 
void | 
setEyeLocationLimits(Sector sector)
Sets the Sector which will limit a view's eye latitude and longitude. 
 | 
void | 
setHeadingLimits(Angle minAngle,
                Angle maxAngle)
Sets the minimum and maximum angles which will limit a view's heading property. 
 | 
void | 
setPitchLimits(Angle minAngle,
              Angle maxAngle)
Sets the minimum and maximum angles which will limit a view's pitch property. 
 | 
void | 
setRollLimits(Angle minAngle,
             Angle maxAngle)
Sets the minimum and maximum angles which will limit a view's roll property. 
 | 
double[] getEyeElevationLimits()
Sector getEyeLocationLimits()
Angle[] getHeadingLimits()
Angle[] getPitchLimits()
void getRestorableState(RestorableSupport rs, RestorableSupport.StateObject context)
Angle[] getRollLimits()
Position limitEyePosition(View view, Position position)
view - the view associated with the center position and the property limits.position - position to clamp to the allowed range.IllegalArgumentException - if any argument is null.Angle limitHeading(View view, Angle angle)
view - the view associated with the heading angle and the property limits.angle - angle to clamp to the allowed range.IllegalArgumentException - if any argument is null.Angle limitPitch(View view, Angle angle)
view - the view associated with the pitch angle and the property limits.angle - angle to clamp to the allowed range.IllegalArgumentException - if any argument is null.Angle limitRoll(View view, Angle angle)
view - the view associated with the roll angle and the property limits.angle - angle to clamp to the allowed range.IllegalArgumentException - if any argument is null.void reset()
void restoreState(RestorableSupport rs, RestorableSupport.StateObject context)
void setEyeElevationLimits(double minValue,
                           double maxValue)
minValue - the minimum elevation.maxValue - the maximum elevation.void setEyeLocationLimits(Sector sector)
sector - Sector which will limit the eye latitude and longitude.IllegalArgumentException - if sector is null.void setHeadingLimits(Angle minAngle, Angle maxAngle)
minAngle - the minimum allowable angle for heading.maxAngle - the maximum allowable angle for heading.IllegalArgumentException - if either minAngle or maxAngle is null.void setPitchLimits(Angle minAngle, Angle maxAngle)
minAngle - the minimum allowable angle for pitch.maxAngle - the maximum allowable angle for pitch.IllegalArgumentException - if either minAngle or maxAngle is null.void setRollLimits(Angle minAngle, Angle maxAngle)
minAngle - the minimum allowable angle for roll.maxAngle - the maximum allowable angle for roll.IllegalArgumentException - if either minAngle or maxAngle is null.