STK Graphics PrimitivesSend comments on this topic.
InitializeWithDistances Method (IAgStkGraphicsDistanceDisplayConditionFactory)
See Also
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.
Windows





Windows & Linux

Description

Initializes a distance display condition with 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 object is within the interval.

Syntax

[Visual Basic .NET]
Public Function InitializeWithDistances( _
    ByVal MinimumDistance As Double, _
    ByVal MaximumDistance As Double _
) As IAgStkGraphicsDistanceDisplayCondition
[C#]
public IAgStkGraphicsDistanceDisplayCondition InitializeWithDistances(
    double MinimumDistance,
    double MaximumDistance
);
[Managed C++]
public: IAgStkGraphicsDistanceDisplayCondition^ InitializeWithDistances(
    double MinimumDistance,
    double MaximumDistance
);
[Unmanaged C++]
public: HRESULT InitializeWithDistances(
    double MinimumDistance,
    double MaximumDistance,
    IAgStkGraphicsDistanceDisplayCondition ** ppRetVal
);
[Java]
public IAgStkGraphicsDistanceDisplayCondition initializeWithDistances(
    double MinimumDistance,
    double MaximumDistance
);
[Python - STK API ]
def InitializeWithDistances(self, MinimumDistance:float, MaximumDistance:float) -> "IAgStkGraphicsDistanceDisplayCondition":

Parameters

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.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.