AGI STK Objects 11 Send comments on this topic.
AreTracksInRange Method (IAgMtoAnalysisRange)
See Also 
AllOrAny
TrackIds
Time
Windows






Windows & Linux

Description

Returns true if any track in the array is visible to the object.

Syntax

[Visual Basic .NET]
Public Function AreTracksInRange( _
   ByVal AllOrAny As AgEMtoTrackEval, _
   ByRef TrackIds As System.Array, _
   ByVal Time As System.Object _
) As Boolean

[C#]
public bool AreTracksInRange(
AgEMtoTrackEval AllOrAny,
ref System.Array TrackIds,
System.Object Time
);

[Managed C++]
public: bool AreTracksInRange(
AgEMtoTrackEval AllOrAny,
System::Array ^^ TrackIds,
VARIANT Time
);

[Java]
public bool areTracksInRange(
AgEMtoTrackEval AllOrAny,
Object[] TrackIds,
Variant Time
);

[Unmanaged C++]
public: HRESULT AreTracksInRange(
AgEMtoTrackEval AllOrAny,
SAFEARRAY ** TrackIds,
VARIANT Time,
VARIANT_BOOL * ReturnValue
);

Parameters

AllOrAny
Member Value Description
eMtoTrackEvalAll 0 Returns 1 if every track is within range otherwise it returns 0.
eMtoTrackEvalAny 1 Returns 1 if any track is in range of the Object, (ie, lowerLimit <= range <= upperLimit) else returns 0.
TrackIds
Time

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface