STK Graphics PrimitivesSend comments on this topic.
InitializeWithCentralBodyAndAltitudes Method (IAgStkGraphicsAltitudeDisplayConditionFactory)
See Also
CentralBody
The Central Body to which the altitude is relative.
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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT InitializeWithCentralBodyAndAltitudes(
    BSTR CentralBody,
    double MinimumAltitude,
    double MaximumAltitude,
    IAgStkGraphicsAltitudeDisplayCondition ** ppRetVal
);
[Java]
public IAgStkGraphicsAltitudeDisplayCondition initializeWithCentralBodyAndAltitudes(
    String CentralBody,
    double MinimumAltitude,
    double MaximumAltitude
);
[Python - STK API ]
def InitializeWithCentralBodyAndAltitudes(self, CentralBody:str, MinimumAltitude:float, MaximumAltitude:float) -> "IAgStkGraphicsAltitudeDisplayCondition":

Parameters

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

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.