Initializes an altitude display condition with the inclusive altitude interval [minimumAltitude, maximumAltitude]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the camera's altitude, relative to the Central Body, is within the interval.
[Visual Basic .NET] |
---|
Public Function InitializeWithAltitudes( _ ByVal MinimumAltitude As Double, _ ByVal MaximumAltitude As Double _ ) As IAgStkGraphicsAltitudeDisplayCondition |
[C#] |
---|
public IAgStkGraphicsAltitudeDisplayCondition InitializeWithAltitudes( double MinimumAltitude, double MaximumAltitude ); |
[Managed C++] |
---|
public: IAgStkGraphicsAltitudeDisplayCondition^ InitializeWithAltitudes( double MinimumAltitude, double MaximumAltitude ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithAltitudes( double MinimumAltitude, double MaximumAltitude, IAgStkGraphicsAltitudeDisplayCondition ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsAltitudeDisplayCondition initializeWithAltitudes( double MinimumAltitude, double MaximumAltitude ); |
[Python - STK API ] |
---|
def InitializeWithAltitudes(self, MinimumAltitude:float, MaximumAltitude:float) -> "IAgStkGraphicsAltitudeDisplayCondition": |
- MinimumAltitude
- The minimum altitude of the inclusive altitude interval. Use
Double.MinValue
to ignore checking the minimum altitude. - MaximumAltitude
- The maximum altitude of the inclusive altitude interval. Use
Double.MaxValue
to ignore checking the maximum altitude.