AGI STK Graphics 11 Send comments on this topic.
InitializeWithCentralBodyAndAltitudes Method (IAgStkGraphicsAltitudeDisplayConditionFactory)
See Also 
CentralBody
The Central Body to which the altitude is relative.
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 centralBody, is within the interval.

Syntax

[Visual Basic .NET]
Public Function InitializeWithCentralBodyAndAltitudes( _
   ByVal CentralBody As String, _
   ByVal MinimumAltitude As Double, _
   ByVal MaximumAltitude As Double _
) As IAgStkGraphicsAltitudeDisplayCondition

[C#]
public IAgStkGraphicsAltitudeDisplayCondition InitializeWithCentralBodyAndAltitudes(
string CentralBody,
double MinimumAltitude,
double MaximumAltitude
);

[Managed C++]
public: IAgStkGraphicsAltitudeDisplayCondition^ InitializeWithCentralBodyAndAltitudes(
String __gc ^ CentralBody,
double MinimumAltitude,
double MaximumAltitude
);

[Java]
public IAgStkGraphicsAltitudeDisplayCondition initializeWithCentralBodyAndAltitudes(
String CentralBody,
double MinimumAltitude,
double MaximumAltitude
);

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

Parameters

CentralBody
The Central Body to which the altitude is relative.
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