Initializes a distance display condition with the Globe Overlay and the inclusive distance interval [minimumDistance, maximumDistance]. When this display condition is assigned to an object, such as a primitive, the object is only rendered when the distance from the camera to the Globe Overlay is within the interval.
[Visual Basic .NET] |
---|
Public Function InitializeWithDistances( _ ByVal GlobeOverlay As IAgStkGraphicsGlobeOverlay, _ ByVal MinimumDistance As Double, _ ByVal MaximumDistance As Double _ ) As IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition |
[C#] |
---|
public IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition InitializeWithDistances( IAgStkGraphicsGlobeOverlay GlobeOverlay, double MinimumDistance, double MaximumDistance ); |
[Managed C++] |
---|
public: IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition^ InitializeWithDistances( IAgStkGraphicsGlobeOverlay ^ GlobeOverlay, double MinimumDistance, double MaximumDistance ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithDistances( IAgStkGraphicsGlobeOverlay * GlobeOverlay, double MinimumDistance, double MaximumDistance, IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition initializeWithDistances( IAgStkGraphicsGlobeOverlay GlobeOverlay, double MinimumDistance, double MaximumDistance ); |
[Python - STK API ] |
---|
def InitializeWithDistances(self, GlobeOverlay:"IAgStkGraphicsGlobeOverlay", MinimumDistance:float, MaximumDistance:float) -> "IAgStkGraphicsDistanceToGlobeOverlayDisplayCondition": |
- GlobeOverlay
- The globe overlay associated with this instance.
- MinimumDistance
- The minimum distance of the inclusive distance interval.
- MaximumDistance
- The maximum distance of the inclusive distance interval. Use
Double.MaxValue
to ignore checking the maximum distance.