AGI STK Graphics 11 Send comments on this topic.
InitializeWithAltitudes Method (IAgStkGraphicsAltitudeDisplayConditionFactory)
See Also 
MinimumAltitude
The minimum altitude, in meters, of the inclusive altitude interval. Use Double.MinValue to ignore checking the minimum altitude.
MaximumAltitude
The maximum altitude, in meters, of the inclusive altitude interval. Use Double.MaxValue to ignore checking the maximum altitude.





Description

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.

Syntax

[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
);

[Java]
public IAgStkGraphicsAltitudeDisplayCondition initializeWithAltitudes(
double MinimumAltitude,
double MaximumAltitude
);

[Unmanaged C++]
public: HRESULT InitializeWithAltitudes(
double MinimumAltitude,
double MaximumAltitude,
IAgStkGraphicsAltitudeDisplayCondition ** ReturnValue
);

Parameters

MinimumAltitude
The minimum altitude, in meters, of the inclusive altitude interval. Use Double.MinValue to ignore checking the minimum altitude.
MaximumAltitude
The maximum altitude, in meters, of the inclusive altitude interval. Use Double.MaxValue to ignore checking the maximum altitude.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1