AGI STK Objects 11 Send comments on this topic.
ComputeAllRanges Method (IAgMtoAnalysisRange)
See Also 
Mode
Time





Description

Computes the range of all track ids. Returns an array of track ids with a bool value if it's in range of the object.

Syntax

[Visual Basic .NET]
Public Function ComputeAllRanges( _
   ByVal Mode As AgEMtoRangeMode, _
   ByVal Time As System.Object _
) As System.Array

[C#]
public System.Array ComputeAllRanges(
AgEMtoRangeMode Mode,
System.Object Time
);

[Managed C++]
public: System::Array ComputeAllRanges(
AgEMtoRangeMode Mode,
VARIANT Time
);

[Java]
public Object[] computeAllRanges(
AgEMtoRangeMode Mode,
Variant Time
);

[Unmanaged C++]
public: HRESULT ComputeAllRanges(
AgEMtoRangeMode Mode,
VARIANT Time,
SAFEARRAY ** Array
);

Parameters

Mode
Member Value Description
eMtoRangeModeEach 2 For every track, returns the track id, 1 (within range) or 0 (not in range), and the range value in Connect distance units.
eMtoRangeModeEachInRange 3 Returns the Track_id for each track in range, a 1 and the range value in Connect distance units.
eMtoRangeModeEachNotInRange 4 Returns the Track_id for each track not in range, a 0 and the range value in Connect distance units.
Time

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1