Description
Returns true if any track in the array is
visible to the object.
Syntax
[Visual Basic .NET] |
Public Function AreTracksVisible( _
ByVal Eval As AgEMtoTrackEval, _
ByRef TrackIds As System.Array, _
ByVal Time As System.Object _
) As Boolean
|
Parameters
Example
Determine if all the
specified tracks (i.e. a subset of the MTO tracks) are visible from
the other STK Object at the specified time?
[C#] |
Copy Code
|
IAgMtoAnalysisVisibility mtoVisibility = mto.Analysis.Visibility;
mtoVisibility.UseTerrain = false;
mtoVisibility.Entirety = AgEMtoEntirety.eMtoEntiretyPartial;
mtoVisibility.StkObjectPath = "Satellite/J2Satellite";
Array tracksOfInterest = new object[]
{
1, 2, 7
};
bool areTracksAreVisible = mtoVisibility.AreTracksVisible(AgEMtoTrackEval.eMtoTrackEvalAll, ref tracksOfInterest, "1 Jan 2012 12:02:00.000");
|
|
Determine if all the
specified tracks (i.e. a subset of the MTO tracks) are visible from
the other STK Object at the specified time?
[Visual Basic .NET] |
Copy Code
|
Dim mtoVisibility As
IAgMtoAnalysisVisibility = mto.Analysis.Visibility
mtoVisibility.UseTerrain = False
mtoVisibility.Entirety = AgEMtoEntirety.eMtoEntiretyPartial
mtoVisibility.StkObjectPath = "Satellite/J2Satellite"
#If Not CSToJava Then
#Else
#End If
Dim tracksOfInterest As Array =
New Object() {1, 2, 7}
#If Not CSToJava Then
Dim areTracksAreVisible As Boolean =
mtoVisibility.AreTracksVisible(AgEMtoTrackEval.eMtoTrackEvalAll,
tracksOfInterest, "1 Jan 2012
12:02:00.000")
#Else
#End If
|
|
See Also