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,
in meters, from the camera to the position is within the
interval.
| [Visual Basic .NET] |
|---|
Public Function InitializeWithDistances( _
ByRef Position As System.Array, _
ByVal MinimumDistance As Double, _
ByVal MaximumDistance As Double _
) As IAgStkGraphicsDistanceToPositionDisplayCondition
|
| [C#] |
|---|
public IAgStkGraphicsDistanceToPositionDisplayCondition InitializeWithDistances(
|
| [Managed C++] |
|---|
public: IAgStkGraphicsDistanceToPositionDisplayCondition^ InitializeWithDistances(
|
| [Java] |
|---|
public IAgStkGraphicsDistanceToPositionDisplayCondition initializeWithDistances(
|
| [Unmanaged C++] |
|---|
public: HRESULT InitializeWithDistances(
|
- Position
- An array containing the position (in the order x, y, z) used to compute the distance from the camera.
- MinimumDistance
- The minimum distance, in meters, of the inclusive distance interval.
- MaximumDistance
- The maximum distance, in meters, of the inclusive distance
interval. Use
Double.MaxValueto ignore checking the maximum distance.
Shows the format of
the Position parameter when creating a distance to position display
condition.
| [C#] | Copy Code
|
|
|---|---|---|
|
||
Shows the format of
the Position parameter when creating a distance to position display
condition.
| [Visual Basic .NET] | Copy Code
|
|
|---|---|---|
|
||