AGI GPS 6 Send comments on this topic.
GPS_Select Method (IAgAsGPSSatSelectPluginResultEval)
See Also 
Index
An integer identifier
Select
True indicates that the identified GPS satellite is to be selected; false indicates that it is not to be selected for use.
Windows








Description

Select GPS satellite. Set Select to True to use the GPS satellite at given Index.

Syntax

[Visual Basic .NET]
Public Sub GPS_Select( _
   ByVal Index As Integer, _
   ByVal Select As Boolean _
) 

[C#]
public void GPS_Select(
int Index,
bool Select
);

[Managed C++]
public: void GPS_Select(
int Index,
bool Select
);

[Unmanaged C++]
public: HRESULT GPS_Select(
long Index,
VARIANT_BOOL Select
);

[VBScript]
'Sub object.GPS_Select(...)
' Index is type ppLong
' Select is type Boolean
Call object.GPS_Select(Index, Select)

[Perl]
$objectReference->GPS_Select(
$Index, # type int (scalar)
$Select# type int (scalar)
);

Parameters

Index
An integer identifier
Select
True indicates that the identified GPS satellite is to be selected; false indicates that it is not to be selected for use.

Remarks

An array containing the visible GPS satellites is determined before every plugin Evaluate() call. The number of GPS satellites that are visible at the current time can be found using the NumSatsVisible property. The index number identifies a particular GPS satellite from that array (index 0 is the first satellite, index NumSatsVisible-1 is the last satellite). Use the GPS_PRN() method to identify the PRN from the index number if it is needed. The size of the array and even the order of the GPS satellites in the array may change between different Evaluate() calls; therefore, you can only associate an particular index number with a particular GPS satellite during the same Evaluate() call---you cannot, for example, determine during one call that index 0 is PRN 24 and believe that index 0 will continue to be asscoiated with PRN 24 on a later Evaluate() call.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5