public interface OrbitViewLimits extends ViewPropertyLimits
OrbitView
.Modifier and Type | Method and Description |
---|---|
double[] |
getCenterElevationLimits()
Returns the minimum and maximum values for the orbit view center elevation.
|
Sector |
getCenterLocationLimits()
Returns the Sector which limits the orbit view center latitude and longitude.
|
double[] |
getZoomLimits()
Returns the minimum and maximum values for the orbit view zoom property.
|
Position |
limitCenterPosition(View view,
Position position)
Returns a position clamped to the center location limits and center elevation limits specified by this limit
object.
|
double |
limitZoom(View view,
double value)
Returns a distance clamped to the zoom limits specified by this limit object.
|
void |
setCenterElevationLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the orbit view center elevation.
|
void |
setCenterLocationLimits(Sector sector)
Sets the Sector which will limit the orbit view center latitude and longitude.
|
void |
setZoomLimits(double minValue,
double maxValue)
Sets the minimum and maximum values which will limit the orbit view zoom property.
|
getEyeElevationLimits, getEyeLocationLimits, getHeadingLimits, getPitchLimits, getRestorableState, getRollLimits, limitEyePosition, limitHeading, limitPitch, limitRoll, reset, restoreState, setEyeElevationLimits, setEyeLocationLimits, setHeadingLimits, setPitchLimits, setRollLimits
double[] getCenterElevationLimits()
Sector getCenterLocationLimits()
double[] getZoomLimits()
Position limitCenterPosition(View view, Position position)
view
- the view associated with the center position and the property limits.position
- position to clamp to the allowed range.java.lang.IllegalArgumentException
- if any argument is null.double limitZoom(View view, double value)
view
- the view associated with the zoom distance and the property limits.value
- zoom distance to clamp to the allowed range.java.lang.IllegalArgumentException
- if any argument is null.void setCenterElevationLimits(double minValue, double maxValue)
minValue
- the minimum allowable value for center elevation.maxValue
- the maximum allowable value for center elevation.void setCenterLocationLimits(Sector sector)
sector
- Sector which will limit the center latitude and longitude.java.lang.IllegalArgumentException
- if sector is null.void setZoomLimits(double minValue, double maxValue)
minValue
- the mimimum allowable value for zoom.maxValue
- the maximum allowable value for zoom.